{"id":"CVE-2026-76803","kind":"vulnerability","aliases":["CVE-2026-76803","GHSA-xhmx-w2j4-rw3q","GO-2026-6577"],"related":[],"title":"Nuclei: Local File Read via MySQL Client Sandbox Bypass in github.com/projectdiscovery/nuclei","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.","summary":"Nuclei's MySQL JavaScript library ignored its local-file sandbox when a JavaScript template set the allowAllFiles DSN option. A malicious MySQL-compatible server scanned with such a template can make the scanner read arbitrary local files and send their contents back to the server.","severity":"medium","cvss":5.3,"epss":0.00401,"exploited":false,"exploited_at":null,"products":[{"name":"github.com/projectdiscovery/nuclei","fixed":[],"affected":"all versions","ecosystem":"go"},{"name":"github.com/projectdiscovery/nuclei/v2","fixed":[],"affected":"all versions","ecosystem":"go"},{"name":"github.com/projectdiscovery/nuclei/v3","fixed":["3.10.0"],"affected":">= 3.0.0, < 3.10.0","ecosystem":"go"}],"ecosystems":["go"],"tags":["go","nuclei","package","sdk","security-scanning"],"not_affected_if":["fixed-3.10.0-plus","trusted-templates-only"],"how_to_check":"Check the Go module version in go.mod: exposed if github.com/projectdiscovery/nuclei/v3 is >= 3.0.0 and < 3.10.0. Versions of the unversioned and /v2 modules are unknown.","fix":"Upgrade github.com/projectdiscovery/nuclei/v3 to 3.10.0 or later.\nFixed versions for the unversioned and /v2 module paths: unknown.","status":"open","published_at":"2026-09-22T17:17:24+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","triaged_at":"2026-10-23T21:48:56+00:00","updated_at":"2026-10-23T21:48:56+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T21:48:56Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade github.com/projectdiscovery/nuclei/v3 to 3.10.0 or later.\nFixed versions for the unversioned and /v2 module paths: unknown.","reach":"internet","impact":"medium","summary":"Nuclei's MySQL JavaScript library ignored its local-file sandbox when a JavaScript template set the allowAllFiles DSN option. A malicious MySQL-compatible server scanned with such a template can make the scanner read arbitrary local files and send their contents back to the server.","category":"package","who_cares":["go","nuclei","security-scanning","sdk"],"confidence":0.8,"needs_auth":"no","worst_case":"Scanner host files read and exfiltrated to attacker-controlled server","analyst_note":"","how_to_check":"Check the Go module version in go.mod: exposed if github.com/projectdiscovery/nuclei/v3 is >= 3.0.0 and < 3.10.0. Versions of the unversioned and /v2 modules are unknown.","needs_analyst":false,"not_affected_if":["fixed-3.10.0-plus","trusted-templates-only"],"user_interaction":"yes","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000918,"input_tokens":3185,"output_tokens":1199,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,23A,26A '-6577':24A '-76803':16A,27A '/projectdiscovery/nuclei':13A,30A '/projectdiscovery/nuclei/v2':33A '/projectdiscovery/nuclei/v3':36A '3.0.0':105C '3.10.0':107C,214C 'accept':205C 'access':180C 'affect':194C,199C 'allow':177C 'allow-local-file-access':176C 'allowallfil':61B,126C 'arbitrari':80B,155C 'attack':137C 'attacker-control':136C 'back':87B 'base':102C 'built':96C 'bypass':9A,198C 'caus':144C 'cli':200C 'client':7A,163C 'code':191C 'compat':68B,141C 'content':86B,170C 'control':138C 'cve':14A,25A 'data':150C 'deploy':203C 'disabl':182C 'dsl':103C 'dsn':62B,128C 'endpoint':142C 'enforc':114C 'even':174C 'file':3A,53B,82B,118C,166C,179C 'fix':211C 'flag':192C 'ghsa':18A 'ghsa-xhmx-w2j4-rw3q':17A 'github.com':12A,29A,32A,35A 'github.com/projectdiscovery/nuclei':11A,28A 'github.com/projectdiscovery/nuclei/v2':31A 'github.com/projectdiscovery/nuclei/v3':34A 'go':22A,37B 'ignor':49B 'infil':152C 'issu':148C,209C 'javascript':47B,57B,110C,122C,132C,183C 'librari':48B,111C 'load':149C 'local':2A,52B,81B,117C,151C,178C 'local-fil':51B,116C 'make':76B 'malici':65B 'mysql':6A,46B,67B,127C,140C,162C 'mysql-compat':66B,139C 'nuclei':1A,38B,44B,91C 'nuclei/mysql':109C 'option':63B,129C 'packag':39B 'path':156C 'read':4A,79B,164C 'request':153C 'return':168C 'run':186C 'rw3q':21A 'sandbox':8A,54B,119C 'scan':43B,70B,134C 'scanner':78B,95C,160C 'sdk':40B,202C 'secur':42B 'security-scan':41B 'send':84B 'server':69B,90B,146C,173C 'set':59B 'simpl':99C 'suppli':124C 'templat':58B,74B,123C,133C,184C,207C 'though':175C 'unsign':187C 'untrust':131C,206C 'version':195C,213C 'via':5A 'vulner':94C 'w2j4':20A 'without':189C 'xhmx':19A 'yaml':101C 'yaml-bas':100C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2026-09-22T17:17:24+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"govuln","external_id":"GO-2026-6577","url":"https://pkg.go.dev/vuln/GO-2026-6577","severity":null,"published_at":"2026-10-01T20:23:38+00:00","modified_at":"2026-10-01T20:23:38+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","fetched_at":"2026-10-23T19:13:08+00:00","note":null},{"source":"epss","external_id":"CVE-2026-76803","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-76803","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-76803","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76803","severity":null,"published_at":"2026-09-22T17:17:24+00:00","modified_at":"2026-09-26T00:16:35+00:00","first_seen_at":"2026-10-23T19:35:23+00:00","fetched_at":"2026-10-23T19:35:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}