# CVE-2026-41645: Nuclei: Environment variable disclosure via Response-Derived DSL Expressions

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 30% of CVEs (2026-11-30)
- Published: 2026-04-22T19:59:14.000Z
- Modified: 2026-10-26T20:10:00.160Z
- Also known as: GHSA-jm34-66cf-qpvr, GO-2026-5473
- Related: CVE-2026-41282
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- projectdiscovery nuclei: >= 3.0.0, < 3.8.0; from 3.0.0 before 3.8.0
- github.com/projectdiscovery/nuclei/v3 (Go): from 3.0.0 before 3.8.0
- github.com/projectdiscovery/nuclei (Go): all versions
- github.com/projectdiscovery/nuclei/v2 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr> (advisory, mitigation, patch, vendor-advisory, web)
- <https://github.com/projectdiscovery/nuclei/pull/7221> (fix, issue-tracking, patch, web)
- <https://github.com/projectdiscovery/nuclei/pull/7321> (fix, issue-tracking, patch, web)
- <https://github.com/projectdiscovery/nuclei/commit/6c803c74d193f85f8a6d9803ce493fd302cad0eb> (fix, patch, web)
- <https://github.com/projectdiscovery/nuclei/commit/d2217320162d5782ca7cb95bef9dda17063818f3> (fix, patch, web)
- <https://github.com/projectdiscovery/nuclei/releases/tag/v3.8.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41645> (advisory)
- <https://github.com/projectdiscovery/nuclei> (package)

## Sources

- CVE List: [CVE-2026-41645](https://www.cve.org/CVERecord?id=CVE-2026-41645), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-jm34-66cf-qpvr](https://github.com/advisories/GHSA-jm34-66cf-qpvr), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2026-5473](https://pkg.go.dev/vuln/GO-2026-5473), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-41645](https://nvd.nist.gov/vuln/detail/CVE-2026-41645), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41645 · Whole record: https://cve.day/CVE-2026-41645.json · Rebuilt by cve.day 2026-11-25T22:59:20.944Z
