GHSA-2pq5-3q89-j7cc: Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cypher injection; config-conditional RCE), mirroring the SQLChatAgent bug fixed in CVE-2026-25879
- Identifiers
- CVE-2026-55615GHSA-2pq5-3q89-j7cc
- Published
- Record updated
- Affected
- langroid <= 0.65.4
- Fixed in
- 0.65.5
- released June 14, 2026, 21 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
Langroid's Neo4jChatAgent sends LLM-generated Cypher queries directly to the Neo4j driver through its read_query and write_query paths, with no validation, statement-type allowlist, or opt-out gate. Because prompt injection can influence the query text, an attacker can read or destroy graph data and, when APOC or dbms.security procedures are enabled, reach OS-command and filesystem access. The report says this is the same defect class as the SQLChatAgent issue fixed in version 0.63.0 (CVE-2026-25879), and that the fix did not extend to the neo4j module.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langroidPyPILLM dependency since 2023-07-14
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- HighCVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows…Similar attack · NVD/CVE Database
- Infov2026.11Similar attack · MITRE ATLAS Releases
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database