{"id":"CVE-2026-76802","aliases":["EUVD-2026-84556","GHSA-jpf4-98qj-qr67","GO-2026-6570"],"status":"published","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass","description":"Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST template loading branch does not apply the unsigned code-template signature check before accepting a template that contains both a fuzzing: block and an unsigned code: block. When an operator enables -dast, an untrusted multiprotocol template can place an unsigned code request into the execution queue and run arbitrary shell commands even without -code or a valid cryptographic signature. The issue affects CLI DAST scans and SDK integrations that enable DAST while accepting attacker-supplied templates. This issue is fixed in version 3.10.0.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00181,"percentile":0.07735,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2026-09-22T16:47:00Z","modified":"2026-10-28T02:30:33Z","fixes":[{"ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","fixed_in":["3.10.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.10.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.10.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/projectdiscovery/nuclei","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/projectdiscovery/nuclei/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.10.0"}]}]}],"products":[{"vendor":"projectdiscovery","product":"nuclei"}],"references":[{"url":"https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jpf4-98qj-qr67","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/projectdiscovery/nuclei/pull/7472","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/projectdiscovery/nuclei/commit/1c440e755a97471c56fb0276ee8a8c4132974645","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76802","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jpf4-98qj-qr67"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76802.json","tags":["advisory"]},{"url":"https://github.com/projectdiscovery/nuclei","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-76802","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass","description":"Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST template loading branch does not apply the unsigned code-template signature check before accepting a template that contains both a fuzzing: block and an unsigned code: block. When an operator enables -dast, an untrusted multiprotocol template can place an unsigned code request into the execution queue and run arbitrary shell commands even without -code or a valid cryptographic signature. The issue affects CLI DAST scans and SDK integrations that enable DAST while accepting attacker-supplied templates. This issue is fixed in version 3.10.0.","status":"published","published":"2026-09-22T16:47:00.36Z","modified":"2026-09-22T17:04:53.745Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T13:46:21.568011Z"}],"euvd":[{"id":"EUVD-2026-84556","description":"Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST template loading branch does not apply the unsigned code-template signature check before accepting a template that contains both a fuzzing: block and an unsigned code: block. When an operator enables -dast, an untrusted multiprotocol template can place an unsigned code request into the execution queue and run arbitrary shell commands even without -code or a valid cryptographic signature. The issue affects CLI DAST scans and SDK integrations that enable DAST while accepting attacker-supplied templates. This issue is fixed in version 3.10.0.","status":"published","published":"2026-09-22T16:47:00Z","modified":"2026-09-22T17:04:53Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T17:28:02.601428Z"}],"ghsa":[{"id":"GHSA-jpf4-98qj-qr67","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass","description":"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.\n\n**Affected Component**\n\nThe 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.\n\n**Description**\n\nNuclei 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.\n\nFor 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.\n\n\u003e [!NOTE]\nBoth 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.\n\n**Affected Users**\n\n- **CLI users** running DAST/fuzzing scans (`-dast`) with untrusted or attacker-supplied templates that contain both `fuzzing:` and `code:` blocks.\n- **SDK users** who integrate Nuclei with DAST mode enabled and allow end users to supply custom templates.\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/7472\n\n**Mitigation**\n\nUpgrade to Nuclei v3.10.0, where code template signature verification is enforced before DAST loading.\n\nIn the meantime, avoid running DAST scans with untrusted templates.\n\n**Workarounds**\n\nIf upgrading is not an option, do not use `-dast` with templates from unverified sources.\n\n**Acknowledgments**\n\nThanks to @daffainfo for reporting this issue.","status":"published","published":"2026-09-22T20:37:16Z","modified":"2026-09-22T20:37:17Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:41:20.575159Z"}],"nvd":[{"id":"CVE-2026-76802","description":"Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST template loading branch does not apply the unsigned code-template signature check before accepting a template that contains both a fuzzing: block and an unsigned code: block. When an operator enables -dast, an untrusted multiprotocol template can place an unsigned code request into the execution queue and run arbitrary shell commands even without -code or a valid cryptographic signature. The issue affects CLI DAST scans and SDK integrations that enable DAST while accepting attacker-supplied templates. This issue is fixed in version 3.10.0.","status":"published","published":"2026-09-22T17:17:24.627Z","modified":"2026-09-24T21:20:08.527Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:12:50.368368Z"}],"osv":[{"id":"CVE-2026-76802","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass","description":"Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the DAST template loading branch does not apply the unsigned code-template signature check before accepting a template that contains both a fuzzing: block and an unsigned code: block. When an operator enables -dast, an untrusted multiprotocol template can place an unsigned code request into the execution queue and run arbitrary shell commands even without -code or a valid cryptographic signature. The issue affects CLI DAST scans and SDK integrations that enable DAST while accepting attacker-supplied templates. This issue is fixed in version 3.10.0.","status":"published","published":"2026-09-22T16:47:00.36Z","modified":"2026-10-28T02:30:33.729521635Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:45:17.102988Z"},{"id":"GHSA-jpf4-98qj-qr67","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass","description":"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.\n\n**Affected Component**\n\nThe 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.\n\n**Description**\n\nNuclei 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.\n\nFor 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.\n\n\u003e [!NOTE]\nBoth 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.\n\n**Affected Users**\n\n- **CLI users** running DAST/fuzzing scans (`-dast`) with untrusted or attacker-supplied templates that contain both `fuzzing:` and `code:` blocks.\n- **SDK users** who integrate Nuclei with DAST mode enabled and allow end users to supply custom templates.\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/7472\n\n**Mitigation**\n\nUpgrade to Nuclei v3.10.0, where code template signature verification is enforced before DAST loading.\n\nIn the meantime, avoid running DAST scans with untrusted templates.\n\n**Workarounds**\n\nIf upgrading is not an option, do not use `-dast` with templates from unverified sources.\n\n**Acknowledgments**\n\nThanks to @daffainfo for reporting this issue.","status":"published","published":"2026-09-22T20:37:16Z","modified":"2026-10-01T20:56:12.20963251Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:50.687609Z"},{"id":"GO-2026-6570","title":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass in github.com/projectdiscovery/nuclei","description":"Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass in github.com/projectdiscovery/nuclei","status":"published","published":"2026-10-01T20:23:38Z","modified":"2026-10-01T20:45:14.881106578Z","updated_at":"2026-11-02T15:47:03.11707Z"}]}}
