Live threats

All CVEs / projectdiscovery

CVE-2024-40641projectdiscovery nuclei

High 7.4

Priority
44
CVSS 3.1
7.4
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
Yes
Published
Jul 17, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for nuclei.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/projectdiscovery/nuclei all no fixed version —
Go github.com/projectdiscovery/nuclei/v2 all no fixed version —
Go github.com/projectdiscovery/nuclei/v3 < 3.3.0 3.3.0 go get github.com/projectdiscovery/nuclei/v3@v3.3.0
Go github.com/projectdiscovery/nuclei/v3 < 3.3.0 3.3.0 go get github.com/projectdiscovery/nuclei/v3@v3.3.0

Per OSV / GitHub Advisories (GO-2024-2989, GHSA-c3q9-c27p-cw9h). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.