Unsigned code template execution through workflows in projectdiscovery/nuclei
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| projectdiscovery | nuclei | 3.0.0 to before 3.3.0 | 3.3.0 | Patch available | CNA |
| — | github.com/projectdiscovery/nuclei/v3 (Go) | before 3.3.0 | 3.3.0 | Patch available | GHSA-c3q9-c27p-cw9h |
- nuclei Vendorprojectdiscovery Affected 3.0.0 to before 3.3.0 Fixed in 3.3.0 Patch available CNA
- github.com/projectdiscovery/nuclei/v3 (Go) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-c3q9-c27p-cw9h
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:* | — | — | projectdiscovery |
- cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:* Versions — — ·projectdiscovery
Remediation
- Fix · CNA nuclei (projectdiscovery) Fixed in 3.3.0
- Fix · GHSA-c3q9-c27p-cw9h github.com/projectdiscovery/nuclei/v3 (Go) Fixed in 3.3.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-40641
- 2026-10-03 Alias added: GHSA-c3q9-c27p-cw9h
References
More projectdiscovery vulnerabilities
- TI-2024-29054 Nuclei Template Signature Verification Bypass CVSS 3.1HIGH 7.8
- TI-2023-18315 Interactsh server settings make users vulnerable to Subdomain Takeover CVSS 3.1HIGH 8.2
- TI-2026-62486 Nuclei from 3.7.0 before 3.11.1 Template Signature Bypass via Modification-Time-Only Cache CVSS 4.0HIGH 7.0
- TI-2026-29888 Code injection in projectdiscovery Nuclei CVSS 3.1HIGH 7.5
- TI-2026-30165 Nuclei: Local File Read via require() Module Loader Bypass CVSS 3.1MEDIUM 5.5
- TI-2024-04886 ProjectDiscovery Interactsh - Files or Directories Accessible to External Parties CVSS 4.0CRITICAL 9.3
Sources
- CVE-2024-40641 · CVE Program
- CVE-2024-40641 · NVD
- FIRST EPSS
- GHSA-c3q9-c27p-cw9h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences