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

Advisory record · `GHSA-jm34-66cf-qpvr`

- **Identifiers:** `GHSA-jm34-66cf-qpvr` · `CVE-2026-41282` · `CVE-2026-41645` · `GO-2026-5473`
- **State:** Confirmed
- **Severity:** CVSS 4.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 22 Apr 2026
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Apr 2026, 19:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/projectdiscovery/nuclei/v3` (Go): affected `>=3.0.0, <3.8.0`; fixed in `3.8.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Nuclei (github.com/projectdiscovery/nuclei/v3) versions 3.0.0 before 3.8.0 are vulnerable. A malicious target server can return response data containing DSL expressions that multi-step templates reuse, and when the -env-vars (-ev) option is explicitly enabled, this can expose host environment variables such as API keys and tokens. Upgrade to Nuclei v3.8.0, or leave -ev disabled when scanning untrusted targets, since the option is off by default.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.0 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`, from CNA (mitre)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0035, the 29th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:05 UTC: First seen by agentprime
- 31 Oct 2026, 15:05 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jm34-66cf-qpvr)

## Sources

- [GitHub Advisory Database: GHSA-jm34-66cf-qpvr](https://github.com/advisories/GHSA-jm34-66cf-qpvr)
- [OSV: GHSA-jm34-66cf-qpvr](https://osv.dev/vulnerability/GHSA-jm34-66cf-qpvr)
- <https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jm34-66cf-qpvr>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41645>
- <https://github.com/projectdiscovery/nuclei/pull/7221>
- <https://github.com/projectdiscovery/nuclei/pull/7321>
- <https://github.com/projectdiscovery/nuclei/commit/6c803c74d193f85f8a6d9803ce493fd302cad0eb>
- <https://github.com/projectdiscovery/nuclei/commit/d2217320162d5782ca7cb95bef9dda17063818f3>
- <https://github.com/projectdiscovery/nuclei>
- <https://github.com/projectdiscovery/nuclei/releases/tag/v3.8.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-jm34-66cf-qpvr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jm34-66cf-qpvr/>. Everything for agents: <https://agentprime.io/llms.txt>.
