CVE-2026-41645
MEDIUM 5.3CVSS 3.1Nuclei: Environment variable disclosure via Response-Derived DSL Expressions
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.
- Published
- 8 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- CVE-2026-41282GHSA-jm34-66cf-qpvrGO-2026-5473
- Sources
- NVDJSONOSV GHSA-jm34-66cf-qpvrJSONOSV GO-2026-5473JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | projectdiscovery | nucleicpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:go:*:* |
>= 3.0.0, < 3.8.0 | 3.8.0 |
| OSV | Go | github.com/projectdiscovery/nuclei/v3 | >= 3.0.0, < 3.8.0 | 3.8.0 |
| OSV | Go | github.com/projectdiscovery/nuclei | all versions | |
| OSV | Go | github.com/projectdiscovery/nuclei/v2 | all versions |
References
- https://github.com/projectdiscovery/nuclei/commit/6c803c74d193f85f8a6d9803ce493fd302cad0eb · Patch, WEB, FIX
- https://github.com/projectdiscovery/nuclei/commit/d2217320162d5782ca7cb95bef9dda17063818f3 · Patch, WEB, FIX
- https://github.com/projectdiscovery/nuclei/pull/7221 · Issue Tracking, Patch, WEB, FIX
- https://github.com/projectdiscovery/nuclei/pull/7321 · Issue Tracking, Patch, WEB, FIX
- https://github.com/projectdiscovery/nuclei/releases/tag/v3.8.0 · Product, Release Notes, WEB
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr · Mitigation, Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-41645 · ADVISORY
- https://github.com/projectdiscovery/nuclei · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 2026)