CVE-2026-114510 Flexible GraphRAG: Cypher/Graph Injection via broken string-escaping in FalkorDB adapter (_escape()) - full graph wipe from ingested-document content

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-114510?

CVE-2026-114510 is a high-severity vulnerability in stevereiner flexible-graphrag, published on 22 Oct 2026.

Official description

Flexible GraphRAG is a Python framework for building graph and retrieval-augmented generation applications across multiple graph, vector, and search backends. From 0.6.0 until 0.8.2, the _escape() helper in flexible-graphrag/langchain/graph/pg_store_adapters/falkordb_adapter.py escapes quotes before backslashes and then interpolates the result into Cypher assembled by FalkorDBAdapter.add_graph_documents, allowing an inserted escape to be doubled and a quote to terminate the string early. When GRAPH_BACKEND=langchain and GRAPH_DB=falkordb are configured, attacker-influenced ingested document content can cause the extraction model to produce malicious entity or relationship values that reach these queries, allowing injected Cypher clauses to modify or delete graph data and, when the calling code surfaces query results to the user or LLM, disclose graph data. Dynamic node and relationship type identifiers are also inserted into backtick-quoted query positions without safe parameterization. The LlamaIndex FalkorDB store is not affected. This issue is fixed in version 0.8.2.

Weakness: CWE-943, CWE-116

Which versions are affected by CVE-2026-114510?

2 open source packages ship an affected version, including flexible-graphrag.

PackageAffectedFixed in
flexible-graphrag PyPIFrom 0.6.00.8.2
flexible-graphrag PyPIFrom 0.6.00.8.2

How do I fix CVE-2026-114510?

Upgrade flexible-graphrag to 0.8.2 or later.

Is CVE-2026-114510 being exploited?

There is no known exploitation of CVE-2026-114510 in the wild and no public exploit code.

Sources

Also known as GHSA-vqrg-773h-4wxc.

Is CVE-2026-114510 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free