# CVE-2026-55615: Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cypher injection; config-conditional RCE), mirroring the SQLChatAgent bug fixed in CVE-2026-25879

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:22:43.000Z
- Modified: 2026-07-13T16:42:53.178Z
- Also known as: GHSA-2pq5-3q89-j7cc, PYSEC-2026-2576
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- langroid langroid: < 0.65.5
- langroid (PyPI): before 0.65.5

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/langroid/langroid/security/advisories/GHSA-2pq5-3q89-j7cc> (exploit, web)
- <https://github.com/langroid/langroid/commit/5a3097d9dd6378b08ced5480b0caf76cc58d00fa>
- <https://github.com/langroid/langroid> (package)
- <https://pypi.org/project/langroid> (package)
- <https://github.com/advisories/GHSA-2pq5-3q89-j7cc> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55615> (advisory)

## Sources

- CVE List: [CVE-2026-55615](https://www.cve.org/CVERecord?id=CVE-2026-55615), CVE Terms of Use, modified 2026-07-10
- GitHub Advisory Database: [GHSA-2pq5-3q89-j7cc](https://github.com/advisories/GHSA-2pq5-3q89-j7cc), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-55615](https://nvd.nist.gov/vuln/detail/CVE-2026-55615), Public domain, modified 2026-07-10
- PyPA Advisory Database: [PYSEC-2026-2576](https://osv.dev/vulnerability/PYSEC-2026-2576), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-55615 · Whole record: https://cve.day/CVE-2026-55615.json · Rebuilt by cve.day 2026-11-25T22:59:27.585Z
