CVE-2025-67510: Neuron core/neuron ai Neuron MySQLWriteTool Allows Arbitrary/destructive SQL Vulnerability
CRITICALCVE-2025-67510 is a CRITICAL (CVSS 9.4) neuron mysqlwritetool allows arbitrary/destructive sql vulnerability (CWE-284: Improper Access Control) affecting Neuron core/neuron ai libraries in the Packagist ecosystem. The issue involves neuron mysqlwritetool allows arbitrary/destructive sql when exposed to untrusted prompts (agent “footgun”). Remediation is available by upgrading affected packages to version 2.8.12.
CVE-2025-67510 at a Glance
Security Impact
CVSS: 9.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H).
How to Fix CVE-2025-67510
To remediate this vulnerability, upgrade all affected Neuron core/neuron ai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade neuron-core/neuron-ai to 2.8.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for neuron-core/neuron-ai
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-67510, inspect your project dependencies for Neuron core/neuron ai:
inspect dependencies for neuron-core/neuron-ai
Analyze the terminal output to locate any version of Neuron core/neuron ai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Neuron core/neuron ai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67510 Affected Neuron core/neuron ai Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neuron-core/neuron-ai
|
Packagist |
< 2.8.12
|
2.8.12
|
References
Frequently Asked Questions
What is CVE-2025-67510?
Which Neuron core/neuron ai versions are affected?
What version fixes CVE-2025-67510?
Is neuron-core/neuron-ai affected?
What is the CVSS score of CVE-2025-67510?
What CWE is associated with CVE-2025-67510?
How can I check Packagist dependencies for CVE-2025-67510?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-898v-775g-777c",
"modified" : "2025-12-11T15:49:17Z",
"published" : "2025-12-09T17:19:42Z",
"aliases" : [ "CVE-2025-67510" ],
"summary" : "Neuron MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)",
"details" : "### Impact\n\n`MySQLWriteTool` executes arbitrary SQL provided by the caller using `PDO::prepare()` + `execute()` without semantic restrictions. \n\nThis 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).\n\n\n\n**Who is impacted:** Deployments that expose an agent with `MySQLWriteTool` enabled to untrusted input and/or run the tool with a DB user that has broad privileges.\n\n### Patches\n\n**Not patched in:** 2.8.11 \n\nRecommended improvements (even if keeping the tool intentionally powerful):\n\n- Provide a safer API that supports only constrained operations (e.g., `insertRecord`, `updateRecord`) with allowlisted tables/columns.\n\n- Add a policy/allowlist layer (e.g., allow only `INSERT`/`UPDATE` on selected tables; forbid `DROP/TRUNCATE/ALTER/GRANT`).\n\n- Add optional review workflow: log + require human approval for high-risk statements; or “dry-run” mode.\n\n- Document strongly that the tool must not be exposed to untrusted prompts without additional safeguards.\n\n\n\n### Workarounds\n\n- Do not enable `MySQLWriteTool` for public/untrusted agents.\n\n- Use a dedicated DB user with **least privilege**:\n\n - no `DROP`, no `ALTER`, no `GRANT`, no access to sensitive tables unless necessary\n\n- Add an application-layer policy rejecting high-risk statements (`DROP`, `TRUNCATE`, `ALTER`, `GRANT`, `REVOKE`, `CREATE USER`, etc.).\n\n- Implement authorization gating for tool calls (RBAC, allow tool use only for trusted operators).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "neuron-core/neuron-ai"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.8.12"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.8.11"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-898v-775g-777c"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67510"
}, {
"type" : "WEB",
"url" : "https://github.com/neuron-core/neuron-ai/commit/44bab85d92bf162898ee48d0bcef6ba0d29b59c9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neuron-core/neuron-ai"
}, {
"type" : "WEB",
"url" : "https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-250", "CWE-284" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-09T17:19:42Z",
"nvd_published_at" : "2025-12-10T23:15:48Z"
}
}