{"cve":"CVE-2024-40641","nvd":{"published":"2024-07-17T18:15:05.020","modified":"2026-06-17T07:46:13.460","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","score":7.4},"cwes":["CWE-78"],"references":["https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-c3q9-c27p-cw9h","https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-c3q9-c27p-cw9h"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-40641","score":0.00311,"percentile":0.24007,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c3q9-c27p-cw9h","url":"https://osv.dev/vulnerability/GHSA-c3q9-c27p-cw9h","summary":"projectdiscovery/nuclei allows unsigned code template execution through workflows","modified":"2024-08-20T14:57:15Z","packages":[{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei/v3","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v3","ranges":["<3.3.0"],"fixed":["3.3.0"]}]},{"id":"GO-2024-2989","url":"https://osv.dev/vulnerability/GO-2024-2989","summary":"projectdiscovery/nuclei allows unsigned code template execution through workflows in github.com/projectdiscovery/nuclei","modified":"2026-03-03T04:55:33.568053Z","packages":[{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei","purl":"pkg:golang/github.com/projectdiscovery/nuclei","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei/v2","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei/v3","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v3","ranges":["<3.3.0"],"fixed":["3.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}