{"id":"CVE-2025-67510","published":"2025-12-10T22:55:21Z","modified":"2025-12-11T15:37:39Z","title":"MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)","vendor":"neuron-core","product":"neuron-ai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00835,"percentile":0.54947,"provenance":"source"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-898v-775g-777c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/neuron-core/neuron-ai/commit/44bab85d92bf162898ee48d0bcef6ba0d29b59c9","tags":["x_refsource_MISC"]},{"url":"https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":10.99},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"neuron-core","affectedVersions":[{"vendor":"neuron-core","product":"neuron-ai","versions":["< 2.8.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-11T15:37:23.715344Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"neuron-core/neuron-ai","vulnerableRanges":["<2.8.12"],"patched":["2.8.12"],"from":["GHSA-898v-775g-777c"],"provenance":"source"}],"summary":{"text":"The MySQLWriteTool component of neuron-ai, a PHP framework for building AI agents from neuron-core, executes caller-supplied SQL verbatim via PDO prepare and execute with no semantic restrictions. An attacker who can inject instructions into an agent that has this tool enabled, for example through prompt injection in untrusted input, can cause destructive statements such as DROP TABLE, TRUNCATE, DELETE, or ALTER to run, limited only by the database user's privileges, and no authentication or user interaction is required beyond reaching the agent.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:13Z"},"euvd":{"id":"EUVD-2025-202170","exploited":false,"provenance":"source"}}