CVE-2026-76819 — Vulnerability in projectdiscovery/nuclei/v3
Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability
Does your project use an affected github.com/projectdiscovery/nuclei/v3 version?
Paste your go.sum to check it for CVE-2026-76819 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A vulnerability in the Goja JavaScript engine used by Nuclei's javascript: protocol allows arbitrary native code execution on the scanner host when running untrusted JavaScript templates.
Affected Component
The issue is in the Goja JavaScript runtime embedded in Nuclei's JavaScript protocol (pkg/js/). An out-of-bounds heap write in the engine can be exploited to achieve native code execution during template evaluation.
Description
Nuclei uses the Goja engine to execute javascript: protocol templates. A memory safety vulnerability in Goja allows attacker-controlled JavaScript to corrupt heap memory and execute arbitrary native code on the host running Nuclei.
Because javascript: templates execute without the -code flag and unsigned JavaScript templates run by default, a malicious template from an untrusted source can trigger code execution during a normal scan. The vulnerability could also be reached through a template's init section, which runs during template initialization before other security checks complete.
[!NOTE] JavaScript templates do not require the
-codeflag and are not subject to the code-template signing requirement on affected versions. Nuclei v3.11.0 adds a separate signing requirement for JavaScript templates as additional defense in depth.
Affected Users
- CLI users running untrusted or third-party
javascript:templates. - SDK users who integrate Nuclei into platforms where end users can supply JavaScript templates.
Patches
- The vulnerability is fixed in Nuclei v3.10.0 by updating the Goja dependency. Upgrading is strongly recommended.
- Fix reference: https://github.com/projectdiscovery/nuclei/pull/7467
- Additional hardening in v3.11.0 requires cryptographic signatures for JavaScript templates: https://github.com/projectdiscovery/nuclei/pull/7514
Mitigation
Upgrade to Nuclei v3.10.0 or later. For additional protection, upgrade to v3.11.0 where JavaScript templates also require valid signatures.
In the meantime, avoid running JavaScript templates from unverified sources.
Workarounds
If upgrading is not an option, do not run untrusted JavaScript templates. There is no configuration flag that mitigates native code execution on affected versions.
Acknowledgments
Thanks to Dylan Pindur (@dpindur) and Adam Kues (@akues-an) of the Assetnote security research team for reporting this issue through responsible disclosure via security@projectdiscovery.io.
Advisory Timeline
- First published September 22, 2026 (65 days ago).
- Last revised October 1, 2026 — 9 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/projectdiscovery/nuclei/v3@v3.10.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/projectdiscovery/nuclei/v3 Go · Affected: All versions | 3.10.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-vxg7-f2jj-jmqmWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-76819ADVISORY
- https://github.com/projectdiscovery/nuclei/pull/7467WEB
- https://github.com/projectdiscovery/nuclei/pull/7514WEB
- https://github.com/projectdiscovery/nuclei/commit/1fe6025b966cbb95ed4d9f40abfb629b6cbd27b2WEB
- https://github.com/projectdiscovery/nucleiPACKAGE
- https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0WEB
Frequently Asked Questions
- What is CVE-2026-76819?
- Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-76819?
- CVE-2026-76819 affects github.com/projectdiscovery/nuclei/v3. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-76819 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
Also Known As
Related CVEs
- CVE-2024-5262CRITICAL
Files or Directories Accessible to External Parties in ProjectDiscovery
- CVE-2026-108262HIGH
DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885
- CVE-2026-130007HIGH
k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution