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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- 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.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-10-22T14:46:52.353Z
- Modified: 2026-10-30T20:17:00.030Z
- Also known as: GHSA-vqrg-773h-4wxc
- Weaknesses: CWE-116, CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- stevereiner flexible-graphrag: >= 0.6.0, < 0.8.2
- flexible-graphrag (PyPI): from 0.6.0 before 0.8.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/stevereiner/flexible-graphrag/security/advisories/GHSA-vqrg-773h-4wxc> (web)
- <https://github.com/stevereiner/flexible-graphrag/commit/9ace8d47e198ce3f15dbf22853e396ab4e9884fa> (web)
- <https://github.com/stevereiner/flexible-graphrag/releases/tag/v0.8.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114510> (advisory)
- <https://github.com/stevereiner/flexible-graphrag> (package)

## Sources

- CVE List: [CVE-2026-114510](https://www.cve.org/CVERecord?id=CVE-2026-114510), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-vqrg-773h-4wxc](https://github.com/advisories/GHSA-vqrg-773h-4wxc), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-114510](https://nvd.nist.gov/vuln/detail/CVE-2026-114510), Public domain, modified 2026-10-30

---

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