Skip to content
Heist/ feed
UnratedFix available

Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass

Type: advisorySource: OSV2 source records

A vulnerability in Nuclei's DAST template loading path allows unsigned `code:` protocol templates to execute, bypassing the cryptographic signature requirement that is meant to prevent arbitrary command execution from untrusted templates. **Affected Component** The issue is in the template loader's DAST loading branch. When `-dast` is enabled and a template contains a `fuzzing:` block, the loader accepted the template through a code path that omitted the unsigned-code-template signature check present in the normal loading branch. **Description** Nuclei requires `code:` protocol templates to be cryptographically signed before execution. Unsigned code templates are normally skipped with a warning. However, when a template combined a `fuzzing:` block (making it DAST-eligible) with an unsigned `code:` block, enabling `-dast` routed the template through the DAST loader branch, which did not enforce signature verification. For multiprotocol templates containing both HTTP and `code:` blocks, the unsigned code request was included in the execution queue regardless of whether `-code` was set. This allowed arbitrary shell command execution from an unsigned `code:` block with only `-dast` enabled. > [!NOTE] Both DAST mode (`-dast`) and code-protocol templates are disabled by default. Code templates normally require both the `-code` flag and a valid template signature. This issue bypassed the signature and `-code` controls only when `-dast` was explicitly enabled. **Affected Users** - **

Announced Group revision 1
Original source ↗

GO-2026-6570

Revision 1

Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass in github.com/projectdiscovery/nuclei

Nuclei: Arbitrary Command Execution via DAST Code Signature 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-6570

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-6570.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-6570.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-6570.json"
    },
    "ecosystem_specific": {}
  }
]
Related CVEs
CVE-2026-76802

Source reference: /aliases

Publisher severity

No explicit severity was provided.

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

GHSA-jpf4-98qj-qr67

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-jpf4-98qj-qr67

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-jpf4-98qj-qr67/GHSA-jpf4-98qj-qr67.json"
    }
  }
]
Related CVEs
CVE-2026-76802

Source reference: /aliases

Publisher severity

No explicit severity was provided.

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