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

- 種別: advisory
- 重大度: high
- 関連技術: python
- CVE: CVE-2026-114510
- 公開日時: 2026-10-27T15:32:45.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-vqrg-773h-4wxc)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-vqrg-773h-4wxc

影響: pip:flexible-graphrag >= 0.6.0, < 0.8.2 → 0.8.2
def _escape(v: str) -> str: return str(v).replace("'", "\\'").replace("\\", "\\\\") The escaping order is backwards, exactly like the classic HTML double-escape bug: step 1 inserts a literal backslash in front of every ', then step 2 re-matches that just-inserted backslash and doubles it. For an input ending in a single quote, the two steps combined produce \\' (two backslashes followed by the quote) in the output — which, under the standard backslash-escape convention used by Cypher/openCypher…