{"id":"CVE-2026-41645","published":"2026-05-08T03:17:19Z","modified":"2026-05-11T18:16:02Z","title":"Nuclei: Environment variable disclosure via Response-Derived DSL Expressions","vendor":"projectdiscovery","product":"nuclei","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00351,"percentile":0.28653,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectdiscovery/nuclei/pull/7221","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectdiscovery/nuclei/pull/7321","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectdiscovery/nuclei/commit/6c803c74d193f85f8a6d9803ce493fd302cad0eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectdiscovery/nuclei/commit/d2217320162d5782ca7cb95bef9dda17063818f3","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectdiscovery/nuclei/releases/tag/v3.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.73},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"projectdiscovery","affectedVersions":[{"vendor":"projectdiscovery","product":"nuclei","versions":[">= 3.0.0, < 3.8.0"]}],"affected":[{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","vulnerableRanges":[">=3.0.0, <3.8.0"],"patched":["3.8.0"],"from":["GHSA-jm34-66cf-qpvr","GO-2026-5473"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5473"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5473"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-28498","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-projectdiscovery-nuclei-cve-2026-41282","parents":[{"from":"CVE-2026-41282","to":"CVE-2026-41645","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-jm34-66cf-qpvr","via":"reference","url":"https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr"}]}],"children":[{"from":"CVE-2026-41645","to":"CVE-2026-76805","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This vulnerability is an incomplete fix for CVE-2026-41645: the prior remediation made expressions.Evaluate() single-pass within one call but did not prevent DAST/fuzz callers from evaluating substituted output again.","from":"CVE.org","in":"CVE-2026-76805"}]}],"packageHistory":[{"cve":"CVE-2024-40641","published":"2024-07-17","fixed":"3.3.0","kev":false},{"cve":"CVE-2024-43405","published":"2024-09-04","fixed":"3.3.2","kev":false,"link":{"from":"CVE-2024-43405","to":"CVE-2026-41645","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/projectdiscovery/nuclei/v3","fromFixed":"3.3.2","toFixed":"3.8.0","daysApart":611}]}},{"cve":"CVE-2026-41282","published":"2026-04-20","fixed":"3.8.0","kev":false},{"cve":"CVE-2026-41645","published":"2026-05-08","fixed":"3.8.0","kev":false},{"cve":"CVE-2026-41646","published":"2026-05-08","fixed":"3.8.0","kev":false},{"cve":"CVE-2026-76802","published":"2026-09-22","fixed":"3.10.0","kev":false},{"cve":"CVE-2026-76803","published":"2026-09-22","fixed":"3.10.0","kev":false}],"package":"Go:github.com/projectdiscovery/nuclei/v3"}}