Execution with Unnecessary Privileges Affecting neuron-core/neuron-ai package, versions >=2.8.11, <2.8.12


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-NEURONCORENEURONAI-14287469
  • published10 Dec 2025
  • disclosed9 Dec 2025
  • creditGrzegorz Siewruk

Introduced: 9 Dec 2025

CVE-2025-67510  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade neuron-core/neuron-ai to version 2.8.12 or higher.

Overview

neuron-core/neuron-ai is a The PHP Agentic Framework.

Affected versions of this package are vulnerable to Execution with Unnecessary Privileges via the MySQLWriteTool which us PDO::prepare() + execute() without semantic restrictions. An attacker can execute arbitrary and potentially destructive SQL statements by providing crafted input to the agent, which may result in unauthorized data modification or deletion, privilege escalation, or exposure of sensitive information.

Note: This is only exploitable if the agent is exposed to untrusted input or is run with a database user that has broad privileges.

Workaround

This vulnerability can be mitigated by not enabling MySQLWriteTool for public or untrusted agents, using a dedicated database user with least privilege, adding an application-layer policy to reject high-risk statements, and implementing authorization gating for tool calls.

References

CVSS Base Scores

version 4.0
version 3.1