Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the workflow template loading path does not enforce the -file capability gate when resolving file: protocol templates referenced by a workflow. An untrusted unsigned workflow can therefore load a file-protocol template and read local files from the scanner host even when the operator has not enabled file templates. The issue affects CLI users running workflows with -w and SDK integrations that accept end-user workflows while relying on the default file-access restriction. This issue is fixed in version 3.10.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-76804
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:35 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 22 Sept 2026, 16:41 UTC

Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the workflow template loading path does not enforce the -file capability gate when resolving file: protocol templates referenced by a workflow. An untrusted unsigned workflow can therefore load a file-protocol template and read local files from the scanner host even when the operator has not enabled file templates. The issue affects CLI users running workflows with -w and SDK integrations that accept end-user workflows while relying on the default file-access restriction. This issue is fixed in version 3.10.0.

osv:CVE-2026-76804
Complete source record
{
  "id": "1b1db76257fb6aabac439460e5be3fe61d51ed23da4b08150c40d7ff73314ed7",
  "url": "https://osv.dev/vulnerability/CVE-2026-76804",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nuclei: Local File Read via Workflow File-Protocol Gate Bypass",
    "summary": "Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the workflow template loading path does not enforce the -file capability gate when resolving file: protocol templates referenced by a workflow. An untrusted unsigned workflow can therefore load a file-protocol template and read local files from the scanner host even when the operator has not enabled file templates. The issue affects CLI users running workflows with -w and SDK integrations that accept end-user workflows while relying on the default file-access restriction. This issue is fixed in version 3.10.0.",
    "evidence": "osv:CVE-2026-76804",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-76804",
      "aliases": [
        "CVE-2026-76804",
        "GHSA-qgw5-7j4f-fg97",
        "GO-2026-6574"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/projectdiscovery/nuclei",
              "type": "GIT",
              "events": [
                {
                  "introduced": "990cec0de154bd3955e0c1e19951f90e06f6ea7c"
                },
                {
                  "fixed": "f9cf234c12a333656751e04493dc4b1f4f5f3e88"
                },
                {
                  "fixed": "638be4481d27f1bbf90f971bbf6e3023777f2089"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.10.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "638be4481d27f1bbf90f971bbf6e3023777f2089"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f9cf234c12a333656751e04493dc4b1f4f5f3e88"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.10.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.9.0",
            "v3.8.0",
            "v3.7.1",
            "v3.7.0",
            "v3.6.2",
            "v3.6.1",
            "v3.6.0",
            "v3.5.1",
            "v3.5.0",
            "v3.4.10",
            "v3.4.9",
            "v3.4.8",
            "v3.4.7",
            "v3.4.6",
            "v3.4.5",
            "v3.4.4",
            "v3.4.3",
            "v3.4.2",
            "v3.4.1",
            "v3.4.0",
            "v3.3.10",
            "v3.3.9",
            "v3.3.8",
            "v3.3.7",
            "v3.3.6",
            "v3.3.5",
            "v3.3.4",
            "v3.3.3",
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.9",
            "v3.2.8",
            "v3.2.7",
            "v3.2.6",
            "v3.2.5",
            "v3.2.4",
            "v3.2.3",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.10",
            "v3.1.9",
            "v3.1.8",
            "v3.1.7",
            "v3.1.6",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76804.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.883615841Z",
      "provider": "osv",
      "references": [
        "https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76804.json",
        "https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-qgw5-7j4f-fg97",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-76804",
        "https://github.com/projectdiscovery/nuclei/commit/638be4481d27f1bbf90f971bbf6e3023777f2089",
        "https://github.com/projectdiscovery/nuclei/pull/7489"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76804.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-76804",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493406,
  "published_at": "2026-09-22T16:41:46.188+00:00"
}