CVE Catalog

CVE-2026-76803

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

In Nuclei 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.

Risk Assessment

Untrusted JavaScript templates can read arbitrary files from the scanner host and send them to a malicious MySQL server. This can result in leakage of credentials, keys, and other sensitive data.

Recommendation

Upgrade Nuclei to version 3.10.0 or later. Until then, do not run untrusted JavaScript templates and restrict scanning of unknown MySQL endpoints.

Other vulnerabilities in Nuclei

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS