CVE-2026-114510 Flexible GraphRAG: Cypher/Graph Injection via broken string-escaping in FalkorDB adapter (_escape()) - full graph wipe from ingested-document content
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi flexible-graphrag(PyPI) | = 0.6.0; = 0.6.1; = 0.6.2; = 0.6.3 +6 more | 0.8.2 | Fixed |
| stevereiner flexible-graphrag | = >= 0.6.0, < 0.8.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stevereiner flexible-graphrag | = >= 0.6.0, < 0.8.2 | No fix listed |
| pypi flexible-graphrag(PyPI) | >= 0.6.0, < 0.8.2 | 0.8.2 |
| pypi flexible-graphrag(PyPI) | = 0.6.0 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.6.1 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.6.2 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.6.3 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.7.0 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.7.1 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.7.2 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.8.0 | No fix listed |
| pypi flexible-graphrag(PyPI) | = 0.8.1 | No fix listed |
References
- https://github.com/stevereiner/flexible-graphrag/security/advisories/GHSA-vqrg-773h-4wxc vendor-advisory
- https://github.com/stevereiner/flexible-graphrag/commit/9ace8d47e198ce3f15dbf22853e396ab4e9884fa patch
- https://github.com/stevereiner/flexible-graphrag/releases/tag/v0.8.2
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- ENISA EUVD EUVD-2026-108207 third-party-advisory