CVE-2024-27920
HIGH 7.4CVSS 3.1Nuclei allows unsigned code template execution through workflows
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.
- Published
- 15 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-w5wx-6g2r-r78qGO-2024-2645
- Sources
- NVDJSONOSV GHSA-w5wx-6g2r-r78qJSONOSV GO-2024-2645JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | projectdiscovery | nucleicpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.2.0 | 3.2.0 |
| OSV | Go | github.com/projectdiscovery/nuclei/v3 | >= 3.0.0, < 3.2.0 | 3.2.0 |
| OSV | Go | github.com/projectdiscovery/nuclei | all versions | |
| OSV | Go | github.com/projectdiscovery/nuclei/v2 | all versions |
References
- https://docs.projectdiscovery.io/templates/protocols/code · Technical Description, WEB
- https://docs.projectdiscovery.io/templates/reference/template-signing · Technical Description, WEB
- https://docs.projectdiscovery.io/templates/workflows/overview · Technical Description, WEB
- https://github.com/projectdiscovery/nuclei/pull/4822 · Issue Tracking, WEB, FIX
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-27920 · ADVISORY
- https://github.com/projectdiscovery/nuclei/commit/e86f38299765b82ad724fdb701557e0eaff3884d · WEB, FIX
- https://github.com/projectdiscovery/nuclei · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 15 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Mar 2024)