CVE-2026-55615
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLangroid 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceLangroid's Neo4jChatAgent executes LLM-generated Cypher queries directly against the Neo4j driver without any validation, allowlisting, or opt-out mechanism. Attackers with prompt injection capability (via direct user input or RAG-retrieved content) can craft malicious Cypher to read or delete all graph data, and achieve OS command execution when Neo4j APOC or dbms.security procedures are enabled.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Langroid versionRun 'pip show langroid' or check your requirements.txt/pipfile.lock for the langroid package versionAffected if Version is lower than 0.65.5 (the vulnerable version range)
-
Locate Neo4jChatAgent usage in your codebaseSearch for imports or references to 'Neo4jChatAgent' or 'neo4j' in your application code, configuration files, or documentationAffected if Neo4jChatAgent class is being instantiated or the neo4j module is imported in your project
-
Verify Neo4j driver configurationInspect your application's configuration for Neo4j connection settings (uri, credentials, database name) passed to the Neo4jChatAgent or Neo4j driverAffected if A Neo4j driver is configured and connected to a Neo4j database instance
-
Check if Cypher query generation is enabledReview your Langroid agent configuration to confirm the Neo4jChatAgent is set up to generate and execute Cypher queries (this is the default behavior)Affected if The agent is configured to generate Cypher queries from LLM output without additional validation layers
-
Inspect Neo4j database for APOC or dbms.security procedure availabilityExecute 'SHOW PROCEDURES' or 'SHOW PROCEDURES YIELD name' in Neo4j browser or client to list available procedures; check for 'apoc.*' or 'dbms.security.*' proceduresAffected if APOC procedures or dbms.security procedures are enabled and available (enables OS command execution path)
Your environment is affected if you use Langroid versions before 0.65.5 with the Neo4jChatAgent enabled and connected to a Neo4j database, especially if APOC or dbms.security procedures are available in that database.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Langroid version 0.65.5 or later which implements query validation, statement-type allowlisting, and opt-out controls for the neo4j module.
langroid version 0.65.5
- Upgrade langroid to version 0.65.5 or later using your package manager (e.g., pip install langroid>=0.65.5)
- Verify the upgrade was successful by checking the installed version
- If using Neo4jChatAgent, confirm the fix includes proper Cypher query validation, statement-type allowlisting, or an opt-out gate as described in the security fix
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-55615 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-55615 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data