Skip to main content
← All vulnerabilities
CVE-2026-76803GHSA-XHMX-W2J4-RW3QGO-2026-6577

Nuclei: Local File Read via MySQL Client Sandbox Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • projectdiscovery nuclei

    From 3.0.0 · fixed in 3.10.0

  • github.com/projectdiscovery/nuclei/v3Go

    From 3.0.0 · fixed in 3.10.0

  • github.com/projectdiscovery/nucleiGo

    All versions

  • github.com/projectdiscovery/nuclei/v2Go

    All versions

References 4

GitHub · projectdiscovery/nuclei