Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/stevereiner/flexible-graphrag/commit/9ace8d47e198ce3f15dbf228
- https://github.com/stevereiner/flexible-graphrag/releases/tag/v0.8.2
- https://github.com/stevereiner/flexible-graphrag/security/advisories/GHSA-vqrg-7
FAQ
What is CVE-2026-114510?
CVE-2026-114510 is a vulnerability with a CVSS score of 7.1 (HIGH). 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() hel...
How severe is CVE-2026-114510?
CVE-2026-114510 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-114510?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.