# CVE-2026-41645: GO-2026-5473 - Nuclei: Environment variable disclosure via Response-Derived DSL Expressions in github.com/projectdiscovery/nuclei

Source: https://junglewise.ai/threats/cve-2026-41282-nuclei-environment-variable-disclosure-via-response-derived-dsl  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-20  
License: CC BY 4.0 with a link back

CVE-2026-41645 · Severity: medium · CVSS 4 · Published 2026-04-20

ProjectDiscovery Nuclei 3 before 3.8.0 allows DSL expression injection. This affects use of -env-vars for multi-step templates against untrusted targets (not the default configuration).

Technologies: [github.com/projectdiscovery/nuclei (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei), [github.com/projectdiscovery/nuclei/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei-v2), [github.com/projectdiscovery/nuclei/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei-v3), [ProjectDiscovery Nuclei](https://junglewise.ai/threats/technologies/nuclei). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [ProjectDiscovery](https://junglewise.ai/threats/vendors/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 4, published 20 April 2026.

**Which products and versions are affected?** github.com/projectdiscovery/nuclei (Go) SEMVER:introduced=0; github.com/projectdiscovery/nuclei/v2 (Go) SEMVER:introduced=0; github.com/projectdiscovery/nuclei/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.8.0.

**Is there a fix for CVE-2026-41645?** Yes. github.com/projectdiscovery/nuclei/v3 (Go): upgrade to 3.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-41645?** Check whether you run github.com/projectdiscovery/nuclei (Go), github.com/projectdiscovery/nuclei/v2 (Go), github.com/projectdiscovery/nuclei/v3 (Go) or one of the others listed 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.

## How to fix

- github.com/projectdiscovery/nuclei/v3 (Go): upgrade to 3.8.0 or later

  ```sh
  go get github.com/projectdiscovery/nuclei/v3@v3.8.0
  ```


## Affected products

- github.com/projectdiscovery/nuclei (Go) SEMVER:introduced=0
- github.com/projectdiscovery/nuclei/v2 (Go) SEMVER:introduced=0
- github.com/projectdiscovery/nuclei/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.8.0
- ProjectDiscovery Nuclei

## Identifiers

- CVE-2026-41645
- CVE-2026-41282
- GHSA-jm34-66cf-qpvr
- GO-2026-5473

## Related threats

- [Rejected reason: Further research determined the issue results from a dependency.](https://junglewise.ai/threats/cve-2026-76819-projectdiscovery-nuclei-arbitrary-code-execution-via-goja)
- [Nuclei environment variable disclosure in DAST/Fuzz mode](https://junglewise.ai/threats/cve-2026-76805-nuclei-environment-variable-disclosure-in-dast-fuzz-mode)
- [ProjectDiscovery Nuclei security gate bypass via workflow file-protocol templates](https://junglewise.ai/threats/cve-2026-76804-projectdiscovery-nuclei-security-gate-bypass-via-workflow-file)
- [ProjectDiscovery Nuclei local file read via MySQL sandbox bypass](https://junglewise.ai/threats/cve-2026-76803-projectdiscovery-nuclei-local-file-read-via-mysql-sandbox-bypass)
- [ProjectDiscovery Nuclei arbitrary command execution in DAST template loading](https://junglewise.ai/threats/cve-2026-76802-projectdiscovery-nuclei-arbitrary-command-execution-in-dast)
