CVE-2026-76804: Nuclei Local File Read Vulnerability
MODERATECVE-2026-76804 is a MODERATE (CVSS 5.5) local file read vulnerability (CWE-284: Improper Access Control) affecting Nuclei libraries in the Go ecosystem. The issue involves local file read via workflow file-protocol gate bypass. Remediation is available by upgrading affected packages to version 3.10.0.
CVE-2026-76804 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-76804
To remediate this vulnerability, upgrade all affected Nuclei dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/projectdiscovery/nuclei/v3 to 3.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/projectdiscovery/nuclei/v3
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-76804, inspect your project dependencies for Nuclei:
inspect dependencies for github.com/projectdiscovery/nuclei/v3
Analyze the terminal output to locate any version of Nuclei in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.10.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Nuclei, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-76804 Affected Nuclei Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/projectdiscovery/nuclei/v3
|
Go |
≥ 3.0.0
< 3.10.0
|
3.10.0
|
References
Frequently Asked Questions
What is CVE-2026-76804?
Which Nuclei versions are affected?
What version fixes CVE-2026-76804?
Is github.com/projectdiscovery/nuclei/v3 affected?
What is the CVSS score of CVE-2026-76804?
What CWE is associated with CVE-2026-76804?
How can I check Go dependencies for CVE-2026-76804?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qgw5-7j4f-fg97",
"modified" : "2026-09-22T20:37:22Z",
"published" : "2026-09-22T20:37:21Z",
"aliases" : [ "CVE-2026-76804" ],
"summary" : "Nuclei: Local File Read via Workflow File-Protocol Gate Bypass",
"details" : "A vulnerability in Nuclei's workflow template loader allows `file:` protocol templates to execute without the `-file` flag, bypassing a security gate that is meant to prevent local file reads on the scanner host.\n\n**Affected Component**\n\nThe issue is in the workflow template loading path. The main template loader enforces the `-file` gate for file-protocol templates, but the workflow loader did not apply the same check when resolving templates referenced by a workflow.\n\n**Description**\n\nNuclei disables file-protocol templates by default because they read local files from the host running the scanner. Operators must explicitly enable them with the `-file` flag. When a workflow references a file-protocol template, the workflow loader accepted and executed that template without verifying that `-file` was enabled.\n\nBecause workflows run unsigned by default, an untrusted workflow could load and execute a file-protocol template and read local files from the scan target path, even though the operator had not enabled file templates.\n\n> [!NOTE]\nFile-protocol templates are disabled by default. This issue only affects users who run workflows from untrusted sources without having explicitly enabled `-file`.\n\n**Affected Users**\n\n- **CLI users** running workflows (`-w`) that reference file-protocol templates from untrusted or third-party sources.\n- **SDK users** who integrate Nuclei into platforms where end users can supply workflow files and rely on the default `-file` restriction to block local file access.\n\n**Patches**\n\n- The vulnerability is fixed in Nuclei v3.10.0. Upgrading is strongly recommended.\n- Fix reference: https://github.com/projectdiscovery/nuclei/pull/7489\n\n**Mitigation**\n\nUpgrade to Nuclei v3.10.0, where template execution requirements (including the `-file` gate) are enforced consistently across the main loader, workflow parsing, and request compilation paths.\n\nIn the meantime, avoid running workflows from unverified sources.\n\n**Workarounds**\n\nIf upgrading is not an option, do not run untrusted workflow files. There is no configuration flag that mitigates this bypass on affected versions.\n\n**Acknowledgments**\n\nThanks to @daffainfo for reporting this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectdiscovery/nuclei/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-qgw5-7j4f-fg97"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-76804"
}, {
"type" : "WEB",
"url" : "https://github.com/projectdiscovery/nuclei/pull/7489"
}, {
"type" : "WEB",
"url" : "https://github.com/projectdiscovery/nuclei/commit/638be4481d27f1bbf90f971bbf6e3023777f2089"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/projectdiscovery/nuclei"
}, {
"type" : "WEB",
"url" : "https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-22T20:37:21Z",
"nvd_published_at" : "2026-09-22T17:17:24Z"
}
}