Nuclei: Local File Read via MySQL Client Sandbox Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From 3.0.0 until 3.10.0, the nuclei/mysql JavaScript library does not enforce the local-file sandbox when a JavaScript template supplies the allowAllFiles MySQL DSN option. An untrusted javascript: template scanning an attacker-controlled MySQL-compatible endpoint can cause the server to issue LOAD DATA LOCAL INFILE requests for arbitrary paths, after which the scanner's MySQL client reads the files and returns their contents to the server even though -allow-local-file-access is disabled. JavaScript templates can run unsigned and without the -code flag on affected versions, and the bypass affects CLI and SDK deployments that accept untrusted templates. This issue is fixed in version 3.10.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| projectdiscovery | nuclei | 3.0.0 to before 3.10.0 | 3.10.0 | Patch available | CNA |
| — | github.com/projectdiscovery/nuclei/v3 (Go) | 3.0.0 to before 3.10.0 | 3.10.0 | Patch available | GHSA-xhmx-w2j4-rw3q |
- nuclei Vendorprojectdiscovery Affected 3.0.0 to before 3.10.0 Fixed in 3.10.0 Patch available CNA
- github.com/projectdiscovery/nuclei/v3 (Go) Vendor— Affected 3.0.0 to before 3.10.0 Fixed in 3.10.0 Patch available GHSA-xhmx-w2j4-rw3q
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:* | — | — | projectdiscovery |
- cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:* Versions — — ·projectdiscovery
Remediation
- Fix · CNA nuclei (projectdiscovery) Fixed in 3.10.0
- Fix · GHSA-xhmx-w2j4-rw3q github.com/projectdiscovery/nuclei/v3 (Go) Fixed in 3.10.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-76803
- 2026-10-03 Alias added: GHSA-xhmx-w2j4-rw3q
References
Other 5
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-xhmx-w2j4-rw3q
- https://github.com/projectdiscovery/nuclei/pull/7473
- https://github.com/projectdiscovery/nuclei/commit/9611926a9a1ca99e8ed554d1b26fbeff60e06368
- https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0
- https://github.com/projectdiscovery/nuclei
More projectdiscovery vulnerabilities
- TI-2024-29054 Nuclei Template Signature Verification Bypass CVSS 3.1HIGH 7.8
- TI-2023-18315 Interactsh server settings make users vulnerable to Subdomain Takeover CVSS 3.1HIGH 8.2
- TI-2024-27052 Unsigned code template execution through workflows in projectdiscovery/nuclei CVSS 3.1HIGH 7.4
- TI-2026-62486 Nuclei from 3.7.0 before 3.11.1 Template Signature Bypass via Modification-Time-Only Cache CVSS 4.0HIGH 7.0
- TI-2026-29888 Code injection in projectdiscovery Nuclei CVSS 3.1HIGH 7.5
- TI-2026-30165 Nuclei: Local File Read via require() Module Loader Bypass CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-76803 · CVE Program
- CVE-2026-76803 · NVD
- FIRST EPSS
- GHSA-xhmx-w2j4-rw3q · GitHub Advisory Database · CC BY 4.0
- CVE-2026-76803 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences