CVE-2025-67509 Details
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.
A vulnerability exists in Neuron versions 2.8.11 and earlier within the MySQLSelectTool, which is designed for read-only SQL operations. The tool's validation process fails to adequately restrict file-writing commands such as INTO OUTFILE and INTO DUMPFILE. This oversight allows an attacker to write arbitrary files to the database server, potentially leading to remote code execution, especially if the MySQL/MariaDB account has the FILE privilege and the server is configured to allow writes to a desirable location, like a web-accessible directory.
Users can upgrade to Neuron version 2.8.12, where this vulnerability is fixed. If an immediate upgrade is not possible, MySQLSelectTool can be removed or disabled for any agent that receives untrusted input. Additionally, ensure that the database account used by the tool does not have the FILE privilege and that the secure_file_priv setting is configured to a directory that is not web-accessible. A defensive query filter can also be added at the application layer to reject suspicious file-related commands and patterns.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289a | [email protected] | Patch |
| https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12 | [email protected] | ProductRelease Notes |
| https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| neuron-ai neuron | < 2.8.12 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 6, 2026 | Initial Analysis | [email protected] |
| Dec 10, 2025 | New CVE Received | [email protected] |