Skip to content
HighVulnerabilityLLM-specific

CVE-2025-67509: Neuron MySQLSelectTool read-only bypass allows file writes via INTO OUTFILE

Identifier
CVE-2025-67509
Published
Record updated
View JSON
Affected
  • neuron-core/neuron-ai <= 2.8.11
Fixed in
2.8.12
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

Neuron, a PHP framework for building AI agents, has a read-only bypass in MySQLSelectTool in versions 2.8.11 and below. The tool validates queries by checking the first keyword and a forbidden-keyword list, which does not block file-writing constructs such as INTO OUTFILE and INTO DUMPFILE. An attacker who can influence the tool input, for example through prompt injection on a public agent endpoint, can write arbitrary files to the database server if the MySQL or MariaDB account has the FILE privilege and the server configuration permits writes to a useful location, such as a web-accessible directory.

Mitigation

Fixed in 2.8.12.