Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M
CVE-2026-76803Nuclei: Local File Read via MySQL Client Sandbox Bypass
Medium 5.3
In plain English
A medium-severity improper access control in nuclei from projectdiscovery. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/projectdiscovery/nuclei | no fix listed | GO-2026-6577 |
| Go | github.com/projectdiscovery/nuclei/v2 | no fix listed | GO-2026-6577 |
| Go | github.com/projectdiscovery/nuclei/v3 | 3.10.0 | GHSA-xhmx-w2j4-rw3q |
| Go | github.com/projectdiscovery/nuclei/v3 | 3.10.0 | GO-2026-6577 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| projectdiscovery | nuclei | >= 3.0.0, < 3.10.0 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-xhmx-w2j4-rw3q x_refsource_CONFIRM
- https://github.com/projectdiscovery/nuclei/pull/7473 x_refsource_MISC
- https://github.com/projectdiscovery/nuclei/commit/9611926a9a1ca99e8ed554d1b26fbeff60e06368 x_refsource_MISC
- https://github.com/projectdiscovery/nuclei/releases/tag/v3.10.0 x_refsource_MISC