{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-27920","id":"CVE-2024-27920","title":"Unsigned code template execution through workflows in projectdiscovery/nuclei","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 ","descriptionLong":"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":"2024-03-15T19:25:00.748Z","updated":"2026-10-28T02:30:41.852783849Z","reserved":"2024-02-28T15:14:14.214Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["projectdiscovery nuclei"],"affectedProducts":[{"vendor":"projectdiscovery","product":"nuclei","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.2.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei/v3","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v3","ranges":[">=3.0.0 <3.2.0"],"fixed":["3.2.0"],"advisory":"GHSA-w5wx-6g2r-r78q"},{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei","purl":"pkg:golang/github.com/projectdiscovery/nuclei","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-2645"},{"ecosystem":"Go","name":"github.com/projectdiscovery/nuclei/v2","purl":"pkg:golang/github.com/projectdiscovery/nuclei/v2","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-2645"}],"cwes":["CWE-78"],"aliases":["GHSA-w5wx-6g2r-r78q","GO-2024-2645"],"references":[{"url":"https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/projectdiscovery/nuclei/pull/4822","tags":["x_refsource_MISC","x_transferred","Issue Tracking","fix","web"]},{"url":"https://docs.projectdiscovery.io/templates/protocols/code","tags":["x_refsource_MISC","x_transferred","Technical Description","web"]},{"url":"https://docs.projectdiscovery.io/templates/reference/template-signing","tags":["x_refsource_MISC","x_transferred","Technical Description","web"]},{"url":"https://docs.projectdiscovery.io/templates/workflows/overview","tags":["x_refsource_MISC","x_transferred","Technical Description","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27920.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27920","tags":["advisory"]},{"url":"https://github.com/projectdiscovery/nuclei/commit/e86f38299765b82ad724fdb701557e0eaff3884d","tags":["web","fix"]},{"url":"https://github.com/projectdiscovery/nuclei","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00411,"epssPercentile":0.3613,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-27920","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27920","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-27920","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w5wx-6g2r-r78q","ok":true,"note":"GHSA-w5wx-6g2r-r78q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-27920","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}