CVE-2024-40641
published high CVSS 3.1 · 7.4Unsigned code template execution through workflows in projectdiscovery/nuclei
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| projectdiscovery | nuclei | >= 3.0.0, < 3.3.0 (affected) | GitHub_M · cna |
| projectdiscovery | nuclei | 3.0.0 to < 3.3.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
1Provider assertions
3GitHub_M · cna
Unsigned code template execution through workflows in projectdiscovery/nuclei
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ca7a1f3847095733655b144dd5bdcedd1250838013da065d5dafdeb2d997c0c2
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record