{"id":"CVE-2026-55615","published":"2026-07-09T23:40:44Z","modified":"2026-07-10T13:43:08Z","title":"Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cypher injection…","vendor":"langroid","product":"langroid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00461,"percentile":0.31954,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/langroid/langroid/security/advisories/GHSA-2pq5-3q89-j7cc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langroid/langroid/commit/5a3097d9dd6378b08ced5480b0caf76cc58d00fa","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.39},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"langroid","affectedVersions":[{"vendor":"langroid","product":"langroid","versions":["< 0.65.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-10T13:42:55.346221Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langroid","vulnerableRanges":["<0.65.5"],"patched":["0.65.5"],"from":["GHSA-2pq5-3q89-j7cc","PYSEC-2026-2576"],"provenance":"source"}],"summary":{"text":"Langroid, a Python framework for building large-language-model applications, has a flaw in its Neo4jChatAgent component, which passes LLM-generated Cypher queries directly to the Neo4j driver without validation or any restriction on statement types. An attacker who can influence the prompt, whether through direct user input or through content the agent later retrieves, can read or destroy graph data and, if APOC or dbms.security procedures are enabled on the Neo4j server, gain operating-system command and filesystem access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:15Z"},"euvd":{"id":"EUVD-2026-42761","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-54760","published":"2026-07-09","fixed":"0.65.1","kev":false},{"cve":"CVE-2026-54769","published":"2026-07-09","fixed":"0.65.2","kev":false},{"cve":"CVE-2026-54771","published":"2026-07-09","fixed":"0.65.3","kev":false,"link":{"from":"CVE-2026-54771","to":"CVE-2026-55615","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langroid","fromFixed":"0.65.3","toFixed":"0.65.5","daysApart":0}]}},{"cve":"CVE-2026-55615","published":"2026-07-09","fixed":"0.65.5","kev":false}],"package":"PyPI:langroid"}}