# CVE-2024-27920: Unsigned code template execution through workflows in projectdiscovery/nuclei

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2024-03-15T18:44:28.000Z
- Modified: 2026-06-17T07:20:36.293Z
- Also known as: GHSA-w5wx-6g2r-r78q, GO-2024-2645
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- projectdiscovery nuclei: >= 3.0.0, < 3.2.0; from 3.0.0 before 3.2.0
- github.com/projectdiscovery/nuclei/v3 (Go): from 3.0.0 before 3.2.0
- github.com/projectdiscovery/nuclei (Go): all versions
- github.com/projectdiscovery/nuclei/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q> (advisory, vendor-advisory, web)
- <https://github.com/projectdiscovery/nuclei/pull/4822> (fix, issue-tracking, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2024-27920> (advisory)
- <https://github.com/projectdiscovery/nuclei/commit/e86f38299765b82ad724fdb701557e0eaff3884d> (fix, web)
- <https://github.com/projectdiscovery/nuclei> (package)

## Sources

- CVE List: [CVE-2024-27920](https://www.cve.org/CVERecord?id=CVE-2024-27920), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-w5wx-6g2r-r78q](https://github.com/advisories/GHSA-w5wx-6g2r-r78q), CC-BY-4.0, modified 2024-08-20
- Go Vulnerability Database: [GO-2024-2645](https://pkg.go.dev/vuln/GO-2024-2645), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-27920](https://nvd.nist.gov/vuln/detail/CVE-2024-27920), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27920 · Whole record: https://cve.day/CVE-2024-27920.json · Rebuilt by cve.day 2026-11-25T22:58:37.601Z
