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

CVE-2026-41645 · Severity: medium · CVSS 5.3 · Published 2026-05-08

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.

Technologies: github.com/projectdiscovery/nuclei/v3 (Go), ProjectDiscovery Nuclei. Vendors: Go, ProjectDiscovery.

Quick answers

Is CVE-2026-41645 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-41645 being exploited in the wild.
How severe is CVE-2026-41645?
Medium severity, with a CVSS score of 5.3, published 8 May 2026.
Which products and versions are affected?
github.com/projectdiscovery/nuclei/v3 (Go) >= 3.0.0, < 3.8.0.
Is there a fix for CVE-2026-41645?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-41645?
Check whether you run github.com/projectdiscovery/nuclei/v3 (Go) or ProjectDiscovery Nuclei at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • github.com/projectdiscovery/nuclei/v3 (Go) >= 3.0.0, < 3.8.0
  • ProjectDiscovery Nuclei

Identifiers

  • CVE-2026-41645
  • GHSA-jm34-66cf-qpvr

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.