GPU VulnDB

Database/AI/ML frameworks & serving

Flexible GraphRAG: Cypher injection through ingested document content on the FalkorDB backend

CVSS 7.1CVE-2026-114510AI/ML frameworks & servingcurated

Impact

The _escape() helper escapes quotes before backslashes, so an inserted escape can be doubled and a quote can terminate the Cypher string early. Entity and relationship values produced by the extraction model from ingested documents are interpolated into queries built by FalkorDBAdapter.add_graph_documents, and dynamic node and relationship type identifiers go into backtick-quoted positions with no parameterization. An attacker who controls a document the pipeline ingests can inject Cypher clauses that modify or delete graph data, and where the calling code surfaces query results back to a user or to the LLM, read graph contents that caller was not meant to see. For a fleet running a shared RAG ingest service this means one uploaded file can corrupt the knowledge graph every tenant queries. Only the LangChain path is affected (GRAPH_BACKEND=langchain with GRAPH_DB=falkordb); the LlamaIndex FalkorDB store is not.

Who can reach it

Anyone who can get a document into the ingestion pipeline - an upload form, a crawled source, a watched share. Authentication depends on how the deployment exposes ingest; the CVSS vector records PR:L and UI:R, so the record assumes some privilege and a user action in the loop.

What to do

Upgrade to flexible-graphrag 0.8.2 and restart the ingest service - a Python package bump, no node maintenance. If you cannot upgrade now, switch GRAPH_DB off falkordb or the backend off langchain, and treat the existing graph as suspect: content ingested before the fix could already have altered or removed nodes.

References

Related entries

All AI/ML frameworks & serving entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.