CVE-2024-40641
HIGH 7.4CVSS 3.1projectdiscovery/nuclei allows unsigned code template execution through workflows
Nuclei is a fast and customizable vulnerability scanner based on simple YAML based DSL. In affected versions it a way to execute code template without -code option and signature has been discovered. Some web applications inherit from Nuclei and allow users to edit and execute workflow files. In this case, users can execute arbitrary commands. (Although, as far as I know, most web applications use -t to execute). This issue has been addressed in version 3.3.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Published
- 17 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-c3q9-c27p-cw9hGO-2024-2989
- Sources
- NVDJSONOSV GHSA-c3q9-c27p-cw9hJSONOSV GO-2024-2989JSON
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:P/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 |
|---|---|---|---|---|
| OSV | Go | github.com/projectdiscovery/nuclei/v3 | < 3.3.0 | 3.3.0 |
| OSV | Go | github.com/projectdiscovery/nuclei | all versions | |
| OSV | Go | github.com/projectdiscovery/nuclei/v2 | all versions |
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-c3q9-c27p-cw9h · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-40641 · ADVISORY
- https://github.com/projectdiscovery/nuclei · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Jul 2024)