MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
neuron-core/neuron-aiPackagist | < 2.8.12 | 2.8.12 |
Affected products
2- Range: < 2.8.12
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-j8g6-5gqc-mq36ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-67509ghsaADVISORY
- github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289aghsax_refsource_MISCWEB
- github.com/neuron-core/neuron-ai/releases/tag/2.8.12ghsax_refsource_MISCWEB
- github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.