Loading...
Skip to main content

CVE-2025-67510 — Vulnerability in neuron-core/neuron-ai — CVE Details

CRITICAL

Neuron MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)

Published December 9, 2025Updated December 11, 2025Source: osv

Summary

### Impact `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). **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. ### Patches **Not patched in:** 2.8.11 Recommended improvements (even if keeping the tool intentionally powerful): - Provide a safer API that supports only constrained operations (e.g., `insertRecord`, `updateRecord`) with allowlisted tables/columns. - Add a policy/allowlist layer (e.g., allow only `INSERT`/`UPDATE` on selected tables; forbid `DROP/TRUNCATE/ALTER/GRANT`). - Add optional review workflow: log + require human approval for high-risk statements; or “dry-run” mode. - Document strongly that the tool must not be exposed to untrusted prompts without additional safeguards. ### Workarounds - Do not enable `MySQLWriteTool` for public/untrusted agents. - Use a dedicated DB user with **least privilege**: - no `DROP`, no `ALTER`, no `GRANT`, no access to sensitive tables unless necessary - Add an application-layer policy rejecting high-risk statements (`DROP`, `TRUNCATE`, `ALTER`, `GRANT`, `REVOKE`, `CREATE USER`, etc.). - Implement authorization gating for tool calls (RBAC, allow tool use only for trusted operators).

Advisory Timeline

  • First published December 9, 2025 (307 days ago).
  • Last revised December 11, 2025 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update neuron-core/neuron-ai to 2.8.12 or later
composer require "neuron-core/neuron-ai:^2.8.12"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
neuron-core/neuron-ai
packagist
1.0.0, 1.0.1, 1.1.0, 1.1.1 (+303 more)2.8.12

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H

Frequently Asked Questions

What is CVE-2025-67510?
Neuron MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”) This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.4/10).
How do I check if my project is affected by CVE-2025-67510?
CVE-2025-67510 affects neuron-core/neuron-ai. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-67510 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.4

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-898v-775g-777c

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies