{"answers":{"affected":"2 open source packages ship an affected version, including neuron-core/neuron-ai. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-67510 in the wild and no public exploit code.","fix":"Upgrade neuron-core/neuron-ai to 2.8.12 or later.","what":"CVE-2025-67510 is a critical SQL injection vulnerability in neuron-core neuron-ai, published on 10 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-67510 and fix it if it is affected.\n\nWhat it is: CVE-2025-67510 is a critical SQL injection vulnerability in neuron-core neuron-ai, published on 10 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-67510 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- neuron-core/neuron-ai (Packagist): affected all versions; fixed in 2.8.12\n- neuron-core/neuron-ai (Packagist): affected all versions; fixed in 2.8.12\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-67510/ (Markdown: https://insights.sbomify.com/CVE-2025-67510/index.md)","id":"CVE-2025-67510","markdown":"https://insights.sbomify.com/CVE-2025-67510/index.md","name":"CVE-2025-67510","record":{"aliases":["GHSA-898v-775g-777c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"PHP AI agent framework","requires_auth":"none","summary":"Prompt injection in Neuron AI framework allows attackers to execute destructive SQL queries via the MySQLWriteTool if exposed to untrusted input.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"neuron","vendor":"neuron-ai"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"Neuron is a PHP framework for creating and orchestrating AI Agents. In versions 2.8.11 and below, the 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). Deployments that expose an agent with MySQLWriteTool enabled to untrusted input and/or run the tool with a DB user that has broad privileges are impacted. This issue is fixed in version 2.8.12.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)","id":"CVE-2025-67510","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool","id":"CVE-2025-67511"},"packages":[{"ecosystem":"Packagist","fixed":["2.8.12"],"introduced":["0"],"last_affected":[],"package":"neuron-core/neuron-ai","purl":null,"source":"GHSA-898v-775g-777c"},{"ecosystem":"Packagist","fixed":["2.8.12"],"introduced":["0"],"last_affected":[],"package":"neuron-core/neuron-ai","purl":"pkg:composer/neuron-core/neuron-ai","source":"GHSA-898v-775g-777c"}],"prev":{"headline":"MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write","id":"CVE-2025-67509"},"products":["neuron-ai"],"published":"2025-12-10","related":[{"cvss_score":8.2,"headline":"MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write","id":"CVE-2025-67509","kev_date_added":null,"published":"2025-12-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-11","vendors":["neuron-core"]},"summary":"Prompt injection in Neuron AI framework allows attackers to execute destructive SQL queries via the MySQLWriteTool if exposed to untrusted input.","url":"https://insights.sbomify.com/CVE-2025-67510/"}