MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| neuron-core | neuron-ai | before 2.8.12 | 2.8.12 | Patch available | CNA |
| — | neuron-core/neuron-ai (Packagist) | before 2.8.12 | 2.8.12 | Patch available | GHSA-j8g6-5gqc-mq36 |
- neuron-ai Vendorneuron-core Affected before 2.8.12 Fixed in 2.8.12 Patch available CNA
- neuron-core/neuron-ai (Packagist) Vendor— Affected before 2.8.12 Fixed in 2.8.12 Patch available GHSA-j8g6-5gqc-mq36
Remediation
- Fix · CNA neuron-ai (neuron-core) Fixed in 2.8.12
- Fix · GHSA-j8g6-5gqc-mq36 neuron-core/neuron-ai (Packagist) Fixed in 2.8.12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67509
- 2026-10-03 Alias added: GHSA-j8g6-5gqc-mq36
References
Advisory 2
More Neuron-ai Neuron vulnerabilities
- TI-2025-41266 MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”) CVSS 3.1CRITICAL 9.4
Sources
- CVE-2025-67509 · CVE Program
- CVE-2025-67509 · NVD
- FIRST EPSS
- GHSA-j8g6-5gqc-mq36 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences