Neuron-core neuron-ai
MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)
Neuron is a PHP framework for creating and orchestrating AI Agents. In versions 2.8.11 and below, the MySQLWriteTool executes arbitrary SQL provided by the caller using PDO::prepare() + execute() without semantic restrictions. This is consistent with the name (“write tool”), but in an LLM/agent context it becomes a high-risk capability: prompt injection or indirect prompt manipulation can cause execution of destructive queries such as DROP TABLE, TRUNCATE, DELETE, ALTER, or privilege-related statements (subject to DB permissions). Deployments that expose an agent with MySQLWriteTool enabled to untrusted input and/or run the tool with a DB user that has broad privileges are impacted. This issue is fixed in version 2.8.12.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.8.12
Fixed in 2.8.12
Mitigation
Upgrade neuron-ai to 2.8.12 or later.
References
- Vendor advisory github.com/neuron-core/neuron-ai/security/advi…
- Patch github.com/neuron-core/neuron-ai/commit/44bab8…
- Release notes github.com/neuron-core/neuron-ai/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.