{
  "id": "CVE-2025-67509",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-67509",
  "published_at": "2025-12-10T23:05:22.163Z",
  "title": "MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write",
  "vendor": "neuron-core",
  "product": "neuron-ai",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:neuron-ai:neuron:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "neuron-core",
        "product": "neuron-ai",
        "ranges": [
          "\u003c 2.8.12"
        ],
        "fixed_in": [
          "2.8.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade neuron-ai to 2.8.12 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/neuron-core/neuron-ai/security/advisories/GHSA-j8g6-5gqc-mq36"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/neuron-core/neuron-ai/commit/72735d0ea133266cf2f5d5d195d41e9dd865289a"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/neuron-core/neuron-ai/releases/tag/2.8.12"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
