Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. neuron-core/neuron-ai
  4. ›
  5. GHSA-898v-775g-777c

GHSA-898v-775g-777c: Neuron MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)

December 9, 2025

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.

References

  • github.com/advisories/GHSA-898v-775g-777c
  • github.com/neuron-core/neuron-ai
  • github.com/neuron-core/neuron-ai/security/advisories/GHSA-898v-775g-777c

Code Behaviors & Features

Detect and mitigate GHSA-898v-775g-777c with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.12

Fixed versions

  • 2.8.12

Solution

Upgrade to version 2.8.12 or above.

Impact 9.4 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-250: Execution with Unnecessary Privileges
  • CWE-284: Improper Access Control

Source file

packagist/neuron-core/neuron-ai/GHSA-898v-775g-777c.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:12 +0000.