{"answers":{"affected":"5 open source packages ship an affected version, including github.com/projectdiscovery/nuclei/v3, github.com/projectdiscovery/nuclei and github.com/projectdiscovery/nuclei/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-27920 in the wild and no public exploit code.","fix":"Upgrade github.com/projectdiscovery/nuclei/v3 to 3.2.0 or later.","what":"CVE-2024-27920 is a high-severity code injection vulnerability in projectdiscovery nuclei, published on 15 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-27920 and fix it if it is affected.\n\nWhat it is: CVE-2024-27920 is a high-severity code injection vulnerability in projectdiscovery nuclei, published on 15 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-27920 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/projectdiscovery/nuclei/v3 (Go): affected from 3.0.0; fixed in 3.2.0\n- github.com/projectdiscovery/nuclei/v3 (Go): affected from 3.0.0; fixed in 3.2.0\n- github.com/projectdiscovery/nuclei/v3 (Go): affected from 3.0.0; fixed in 3.2.0\n- github.com/projectdiscovery/nuclei (Go): affected all versions; no fix listed\n- github.com/projectdiscovery/nuclei/v2 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-27920/ (Markdown: https://insights.sbomify.com/CVE-2024-27920/index.md)","id":"CVE-2024-27920","markdown":"https://insights.sbomify.com/CVE-2024-27920/index.md","name":"CVE-2024-27920","record":{"aliases":["GHSA-w5wx-6g2r-r78q","GO-2024-2645"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Vulnerability scanner","requires_auth":"none","summary":"Attackers can execute malicious code on user systems via unsigned custom workflows in the Nuclei vulnerability scanner.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuclei","vendor":"projectdiscovery"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"projectdiscovery/nuclei is a fast and customisable vulnerability scanner based on simple YAML based DSL. A significant security oversight was identified in Nuclei v3, involving the execution of unsigned code templates through workflows. This vulnerability specifically affects users utilizing custom workflows, potentially allowing the execution of malicious code on the user's system. This advisory outlines the impacted users, provides details on the security patch, and suggests mitigation strategies. The vulnerability is addressed in Nuclei v3.2.0. Users are strongly recommended to update to this version to mitigate the security risk. Users should refrain from using custom workflows if unable to upgrade immediately. Only trusted, verified workflows should be executed.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unsigned code template execution through workflows in projectdiscovery/nuclei","id":"CVE-2024-27920","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":5,"n_references":5,"next":{"headline":"Grav File Upload Path Traversal vulnerability","id":"CVE-2024-27921"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/projectdiscovery/nuclei","purl":"pkg:golang/github.com/projectdiscovery/nuclei","source":"GO-2024-2645"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/projectdiscovery/nuclei/v2","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v2","source":"GO-2024-2645"},{"ecosystem":"Go","fixed":["3.2.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/projectdiscovery/nuclei/v3","purl":null,"source":"GHSA-w5wx-6g2r-r78q"},{"ecosystem":"Go","fixed":["3.2.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/projectdiscovery/nuclei/v3","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v3","source":"GHSA-w5wx-6g2r-r78q"},{"ecosystem":"Go","fixed":["3.2.0"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/projectdiscovery/nuclei/v3","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v3","source":"GO-2024-2645"}],"prev":{"headline":"HTTP/2: memory exhaustion due to CONTINUATION frame flood","id":"CVE-2024-27919"},"products":["nuclei"],"published":"2024-03-15","related":[{"cvss_score":7.5,"headline":"Nuclei Path Traversal vulnerability","id":"CVE-2023-37896","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":7.4,"headline":"Nuclei Template Signature Verification Bypass","id":"CVE-2024-43405","kev_date_added":null,"published":"2024-09-04"},{"cvss_score":5.5,"headline":"Nuclei: Local File Read via require() Module Loader Bypass","id":"CVE-2026-41646","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":5.3,"headline":"Nuclei: Environment variable disclosure via Response-Derived DSL Expressions","id":"CVE-2026-41645","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":4,"headline":"Code injection in Nuclei","id":"CVE-2026-41282","kev_date_added":null,"published":"2026-04-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["projectdiscovery"]},"summary":"Attackers can execute malicious code on user systems via unsigned custom workflows in the Nuclei vulnerability scanner.","url":"https://insights.sbomify.com/CVE-2024-27920/"}