CVE-2025-67509
HIGH 8.2CVSS 3.1Neuron MySQLSelectTool “read-only” bypass via `SELECT ... INTO OUTFILE` (file write → potential RCE)
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.
- Published
- 10 Dec 2025
- Last modified
- 25 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-j8g6-5gqc-mq36
- Sources
- NVDJSONOSV GHSA-j8g6-5gqc-mq36JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | neuron-ai | neuroncpe:2.3:a:neuron-ai:neuron:*:*:*:*:*:*:*:* |
< 2.8.12 | 2.8.12 |
| OSV | Packagist | neuron-core/neuron-ai | < 2.8.12 | 2.8.12 |
References
- https://github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289a · Patch, WEB
- https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12 · Product, Release Notes, WEB
- https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67509 · ADVISORY
- https://github.com/neuron-core/neuron-ai · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 10 Dec 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Dec 2025)