{"id":"CVE-2024-27920","published":"2024-03-15T19:25:00Z","modified":"2024-08-02T00:41:55Z","title":"Unsigned code template execution through workflows in projectdiscovery/nuclei","vendor":"projectdiscovery","product":"nuclei","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00449,"percentile":0.30854,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectdiscovery/nuclei/pull/4822","tags":["x_refsource_MISC"]},{"url":"https://docs.projectdiscovery.io/templates/protocols/code","tags":["x_refsource_MISC"]},{"url":"https://docs.projectdiscovery.io/templates/reference/template-signing","tags":["x_refsource_MISC"]},{"url":"https://docs.projectdiscovery.io/templates/workflows/overview","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.17},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"projectdiscovery","affectedVersions":[{"vendor":"projectdiscovery","product":"nuclei","versions":[">= 3.0.0, < 3.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-18T20:25:37.853990Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","vulnerableRanges":[">=3.0.0, <3.2.0"],"patched":["3.2.0"],"from":["GHSA-w5wx-6g2r-r78q","GO-2024-2645"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-2645"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-2645"],"provenance":"source"}],"summary":{"text":"Nuclei v3's workflow feature can execute unsigned code templates, a flaw that affects users who run custom workflows in the projectdiscovery nuclei scanner. An attacker who can get a malicious workflow in front of the user, which requires user interaction and local access, could run arbitrary code on the user's system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:15Z"},"euvd":{"id":"EUVD-2024-1023","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-27920","published":"2024-03-15","fixed":"3.2.0","kev":false},{"cve":"CVE-2024-40641","published":"2024-07-17","fixed":"3.3.0","kev":false,"link":{"from":"CVE-2024-27920","to":"CVE-2024-40641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/projectdiscovery/nuclei/v3","fromFixed":"3.2.0","toFixed":"3.3.0","daysApart":124}]}},{"cve":"CVE-2024-43405","published":"2024-09-04","fixed":"3.3.2","kev":false},{"cve":"CVE-2026-41282","published":"2026-04-20","fixed":"3.8.0","kev":false}],"package":"Go:github.com/projectdiscovery/nuclei/v3"}}