CVE-2026-76802: Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass
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.
Published Sep 22, 2026
Affected packages
github.com/projectdiscovery/nuclei/v3
- Ecosystem
- Go
- Affected
- >= 3.0.0, < 3.10.0
- Fixed in
- 3.10.0
- Check
go list -m github.com/projectdiscovery/nuclei/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- CLI users running DAST/fuzzing scans (
-dast) with untrusted or attacker-supplied templates that contain bothfuzzing:andcode:blocks. - SDK users who integrate Nuclei with DAST mode enabled and allow end users to supply custom templates.
Patches
- The vulnerability is fixed in Nuclei v3.10.0. Upgrading is strongly recommended.
- Fix reference: https://github.com/projectdiscovery/nuclei/pull/7472
Mitigation
Upgrade to Nuclei v3.10.0, where code template signature verification is enforced before DAST loading.
In the meantime, avoid running DAST scans with untrusted templates.
Workarounds
If upgrading is not an option, do not use -dast with templates from unverified sources.
Acknowledgments
Thanks to @daffainfo for reporting this issue.
Credited to daffainfo.
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-jpf4-98qj-qr67
- https://nvd.nist.gov/vuln/detail/CVE-2026-76802
- https://github.com/projectdiscovery/nuclei/pull/7472
- https://github.com/projectdiscovery/nuclei/commit/1c440e755a97471c56fb0276ee8a8c4132974645
- https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0
- https://github.com/advisories/GHSA-jpf4-98qj-qr67
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-76803
Nuclei: Local File Read via MySQL Client Sandbox Bypass
medium5.3Sep 22, 2026CVE-2026-76804
Nuclei: Local File Read via Workflow File-Protocol Gate Bypass
medium5.5Sep 22, 2026CVE-2026-76805
Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode
medium5.3Sep 22, 2026CVE-2026-76819
Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability
high8.6Sep 22, 2026CVE-2026-41645
Nuclei: Environment variable disclosure via Response-Derived DSL Expressions
medium5.3Apr 22, 2026CVE-2026-41646
Nuclei: Local File Read via require() Module Loader Bypass
medium5.5Apr 22, 2026
