# CVE-2025-67509: MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-12-09T17:19:23.000Z
- Modified: 2026-09-25T23:10:00.463Z
- Also known as: GHSA-j8g6-5gqc-mq36
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Neuron is a PHP framework for creating and orchestrating AI Agents. Versions 2.8.11 and below use MySQLSelectTool, which is vulnerable to Read-Only Bypass.  MySQLSelectTool is intended to be a read-only SQL tool (e.g., for LLM agent querying, however, validation based on the first keyword (e.g., SELECT) and a forbidden-keyword list does not block file-writing constructs such as INTO OUTFILE / INTO DUMPFILE. As a result, an attacker who can influence the tool input (e.g., via prompt injection through a public agent endpoint) may write arbitrary files to the DB server if the MySQL/MariaDB account has the FILE privilege and server configuration permits writes to a useful location (e.g., a web-accessible directory). This issue is fixed in version 2.8.12.

(As written by CVE List.)

## Affected

- neuron-core neuron-ai: < 2.8.12
- neuron-core/neuron-ai (Packagist): before 2.8.12
- neuron-ai neuron: before 2.8.12

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36> (mitigation, vendor-advisory, web)
- <https://github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289a> (patch, web)
- <https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67509> (advisory)
- <https://github.com/neuron-core/neuron-ai> (package)

## Sources

- CVE List: [CVE-2025-67509](https://www.cve.org/CVERecord?id=CVE-2025-67509), CVE Terms of Use, modified 2025-12-11
- GitHub Advisory Database: [GHSA-j8g6-5gqc-mq36](https://github.com/advisories/GHSA-j8g6-5gqc-mq36), CC-BY-4.0, modified 2025-12-11
- NVD: [CVE-2025-67509](https://nvd.nist.gov/vuln/detail/CVE-2025-67509), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2025-67509 · Whole record: https://cve.day/CVE-2025-67509.json · Rebuilt by cve.day 2026-11-25T22:59:09.211Z
