CVE-2026-76805

Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode

Published Sep 22, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST/fuzz payload path in pkg/fuzz/parts.go can evaluate substituted runtime data more than once, creating a second evaluation pass that allows response content captured by an internal: true extractor in one protocol step to be reinterpreted as template syntax in a later fuzz step. 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. When -env-vars is enabled, a malicious scan target can return marker-shaped content that resolves against the template variable map and discloses scanner-host environment variables such as credentials, API keys, or tokens. The vulnerability requires a multi-step DAST or fuzz template, response data reused through an internal extractor, and explicit environment-variable expansion; users who do not enable -env-vars are not affected by the sensitive-information disclosure. This issue is fixed in version 3.10.0.

Analysis

AI-generated

Technical impact

The flaw occurs in Nuclei’s DAST/fuzz payload engine where runtime data from an internal extractor can be evaluated twice, allowing response content to be reinterpreted as template syntax. When the -env-vars option is active, a malicious target can return marker‐shaped content that resolves against the scanner’s environment variable map, exposing credentials, API keys, or other secrets stored on the scanner host.

Affected Systems

Nuclei, a vulnerability scanner by projectdiscovery, is affected in versions 3.0.0 through 3.10.0. The vulnerability is fixed starting with release 3.10.0.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. Because the EPSS score is not available and the issue is not listed in CISA KEV, the likelihood of widespread exploitation today is low, but the impact is significant if the attack conditions are met. The attack requires a multi‑step DAST or fuzz template, the reuse of response data via an internal extractor, and explicit environment‑variable expansion with -env-vars enabled. A malicious target can craft response data that maps to scanner environment variables, leading to disclosure of sensitive information. Users who run scans without enabling -env-vars are not affected.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nuclei to version 3.10.0 or later, where the duplicate evaluation logic has been removed.
  • If you must use an older version, run scans without the -env-vars flag so that environment variable expansion does not occur.
  • Review and avoid multi‑step DAST or fuzz templates that combine an internal: true extractor with response data reuse, as this pattern is required for the vulnerability to surface.

Generated by OpenCVE AI on September 22, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jpvm-9frm-hjcq Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Projectdiscovery
Projectdiscovery nuclei
Vendors & Products Projectdiscovery
Projectdiscovery nuclei
Type Values Removed Values Added
Description Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST/fuzz payload path in pkg/fuzz/parts.go can evaluate substituted runtime data more than once, creating a second evaluation pass that allows response content captured by an internal: true extractor in one protocol step to be reinterpreted as template syntax in a later fuzz step. 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. When -env-vars is enabled, a malicious scan target can return marker-shaped content that resolves against the template variable map and discloses scanner-host environment variables such as credentials, API keys, or tokens. The vulnerability requires a multi-step DAST or fuzz template, response data reused through an internal extractor, and explicit environment-variable expansion; users who do not enable -env-vars are not affected by the sensitive-information disclosure. This issue is fixed in version 3.10.0.
Title Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 22, 2026, 6:19 PM
Reserved
Aug 19, 2026, 7:52 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 5:17 PM
Modified
Sep 23, 2026, 6:28 PM