CVE-2026-41645
MEDIUMNuclei: Environment variable disclosure via Response-Derived DSL Expressions
Title source: cnaDescription
Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From version 3.0.0 to before version 3.8.0, a vulnerability in Nuclei's expression evaluation engine makes it possible for a malicious target server to inject and execute supported DSL expressions. This happens when HTTP response data containing helper/function syntax gets reused by multi-step templates. If the -env-vars / -ev option is explicitly enabled, this can expose host environment variables. That option is off by default, so standard configurations are not affected by the information disclosure risk. This issue has been patched in version 3.8.0.
References (6)
Core 6
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr
X_Refsource_Misc x_refsource_misc
https://github.com/projectdiscovery/nuclei/pull/7221
X_Refsource_Misc x_refsource_misc
https://github.com/projectdiscovery/nuclei/pull/7321
X_Refsource_Misc x_refsource_misc
https://github.com/projectdiscovery/nuclei/commit/6c803c74d193f85f8a6d9803ce493fd302cad0eb
X_Refsource_Misc x_refsource_misc
https://github.com/projectdiscovery/nuclei/commit/d2217320162d5782ca7cb95bef9dda17063818f3
X_Refsource_Misc x_refsource_misc
https://github.com/projectdiscovery/nuclei/releases/tag/v3.8.0
Scores
CVSS v3
5.3
EPSS
0.0034
EPSS Percentile
26.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-94
Status
published
Products (3)
projectdiscovery/nuclei
3.0.0 - 3.8.0
projectdiscovery/nuclei
3.0.0 - 3.8.0Go
projectdiscovery/nuclei
>= 3.0.0, < 3.8.0
Published
May 08, 2026
Tracked Since
May 08, 2026