What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: projectdiscovery nuclei 3.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41645 or the next vulnerability affects your stack