Skip to content
Heist/ feed
MediumFix available

Nuclei: Local File Read via Workflow File-Protocol Gate Bypass

Type: advisorySource: OSV2 source records

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. **Affected Component** The 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. **Description** Nuclei 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. Because 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. > [!NOTE] File-protocol templates are disabled by default. This issue only affects users who run workflows from untrusted sources without having explicitly enabled `-file`. **Affected Users** - **CLI users** running workflows (`-w`) that reference file-protocol templates from untrusted or third-party sources. - **SDK users** who integrate Nuclei into platforms where end users can supply workflow files and rely on the default `-file` restriction to block local

Announced Group revision 1
Original source ↗

GO-2026-6574

Revision 1

Nuclei: Local File Read via Workflow File-Protocol Gate Bypass in github.com/projectdiscovery/nuclei

Nuclei: Local File Read via Workflow File-Protocol Gate Bypass in github.com/projectdiscovery/nuclei

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GO-2026-6574

github.com/projectdiscovery/nuclei

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

github.com/projectdiscovery/nuclei/v2

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

github.com/projectdiscovery/nuclei/v3

Source reference: /affected/2/package/name

Affected versions
Not stated in this record
Fixed versions
3.10.0

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6574.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v2",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v2",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6574.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "3.0.0"
          },
          {
            "fixed": "3.10.0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v3",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v3",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6574.json"
    },
    "ecosystem_specific": {}
  }
]
Related CVEs
CVE-2026-76804

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#63863 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement

GHSA-qgw5-7j4f-fg97

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-qgw5-7j4f-fg97

github.com/projectdiscovery/nuclei/v3

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
3.10.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "3.0.0"
          },
          {
            "fixed": "3.10.0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v3",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v3",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-qgw5-7j4f-fg97/GHSA-qgw5-7j4f-fg97.json"
    }
  }
]
Related CVEs
CVE-2026-76804

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#63892 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement