{"id":"CVE-2025-67509","published":"2025-12-10T23:05:22Z","modified":"2025-12-11T15:37:08Z","title":"MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write","vendor":"neuron-core","product":"neuron-ai","tier":"tail","description":{"text":"Neuron is a PHP framework for creating and orchestrating AI Agents. Versions 2.8.11 and below use MySQLSelectTool, which is vulnerable to Read-Only Bypass.  MySQLSelectTool is intended to be a read-only SQL tool (e.g., for LLM agent querying, however, validation based on the first keyword (e.g., SELECT) and a forbidden-keyword list does not block file-writing constructs such as INTO OUTFILE / INTO DUMPFILE. As a result, an attacker who can influence the tool input (e.g., via prompt injection through a public agent endpoint) may write arbitrary files to the DB server if the MySQL/MariaDB account has the FILE privilege and server configuration permits writes to a useful location (e.g., a web-accessible directory). This issue is fixed in version 2.8.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24832,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289a","tags":["x_refsource_MISC"]},{"url":"https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":4.97},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"neuron-core","affectedVersions":[{"vendor":"neuron-core","product":"neuron-ai","versions":["< 2.8.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-11T15:36:45.498513Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"neuron-core/neuron-ai","vulnerableRanges":["<2.8.12"],"patched":["2.8.12"],"from":["GHSA-j8g6-5gqc-mq36"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-202171","exploited":false,"provenance":"source"}}