MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)
Description
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.
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-898v-775g-777cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-67510ghsaADVISORY
- github.com/neuron-core/neuron-ai/commit/44bab85d92bf162898ee48d0bcef6ba0d29b59c9ghsax_refsource_MISCWEB
- github.com/neuron-core/neuron-ai/releases/tag/2.8.12ghsax_refsource_MISCWEB
- github.com/neuron-core/neuron-ai/security/advisories/GHSA-898v-775g-777cghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.