Home

Description

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.

PUBLISHED Reserved 2026-06-16 | Published 2026-07-09 | Updated 2026-07-10 | Assigner GitHub_M




CRITICAL: 9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Product status

< 0.65.5
affected

References

github.com/...ngroid/security/advisories/GHSA-2pq5-3q89-j7cc exploit

github.com/...ngroid/security/advisories/GHSA-2pq5-3q89-j7cc

github.com/...ommit/5a3097d9dd6378b08ced5480b0caf76cc58d00fa

cve.org (CVE-2026-55615)

nvd.nist.gov (CVE-2026-55615)

Download JSON