Injection in langroid
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.5, Neo4jChatAgent passes LLM-generated Cypher queries straight to the Neo4j driver with no validation, no statement-type allowlist, and no opt-out gate. The query text is influenceable by prompt injection (direct user input or indirect content the agent reads back via RAG), so an attacker who can influence the prompt can read or destroy all graph data and, when APOC or dbms.security procedures are enabled on the server, achieve OS-command and filesystem access. This is the same defect class and threat model as the SQLChatAgent prompt-to-SQL-to-RCE issue fixed in version 0.63.0 (CVE-2026-25879); that fix did not extend to the neo4j module. Version 0.65.5 contains a fix for the neo4j module.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| langroid | langroid | before 0.65.5 | 0.65.5 | Patch available | CNA |
| — | langroid (PyPI) | before 0.65.5 | 0.65.5 | Patch available | GHSA-2pq5-3q89-j7cc |
- langroid Vendorlangroid Affected before 0.65.5 Fixed in 0.65.5 Patch available CNA
- langroid (PyPI) Vendor— Affected before 0.65.5 Fixed in 0.65.5 Patch available GHSA-2pq5-3q89-j7cc
Remediation
- Fix · CNA langroid (langroid) Fixed in 0.65.5
- Fix · GHSA-2pq5-3q89-j7cc langroid (PyPI) Fixed in 0.65.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55615
- 2026-10-03 Alias added: GHSA-2pq5-3q89-j7cc
References
More langroid vulnerabilities
- TI-2026-39575 Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent CVSS 3.1CRITICAL 10.0
- TI-2026-20919 Langroid has Prompt to SQL Injection, Leading to RCE CVSS 3.1CRITICAL 9.8
- TI-2026-20592 Langroid has WAF Bypass Leading to RCE in TableChatAgent CVSS 4.0CRITICAL 9.4
- TI-2025-29395 Langroid has a Code Injection vulnerability in TableChatAgent CVSS 3.1CRITICAL 9.8
- TI-2026-39566 Langroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file calls CVSS 4.0CRITICAL 9.3
- TI-2025-29397 Langroid Vulnerable to XXE Injection via XMLToolMessage CVSS 4.0HIGH 7.8
Sources
- CVE-2026-55615 · CVE Program
- CVE-2026-55615 · NVD
- FIRST EPSS
- GHSA-2pq5-3q89-j7cc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences