Skip to main content

CVE-2026-114510: CWE-116: Improper Encoding or Escaping of Output in stevereiner flexible-graphrag

0
High
VulnerabilityCVE-2026-114510cvecve-2026-114510cwe-116cwe-943
Published: 10/22/2026 (10/22/2026, 14:46:52 UTC)
Source: CVE Database V5
Vendor/Project: stevereiner
Product: flexible-graphrag

Description

Flexible GraphRAG versions from 0.6.0 up to but not including 0.8.2 contain an improper encoding vulnerability in the _escape() helper function. This flaw allows crafted input to inject malicious Cypher clauses that can modify or delete graph data and potentially disclose sensitive information when query results are surfaced. The vulnerability arises from incorrect escaping order and unsafe insertion of dynamic identifiers into Cypher queries. The issue is fixed in version 0.8.2.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

stevereiner

flexible-graphrag

Affected versions
>=0.6.0 <0.8.2
flexible-graphrag
pkg:pypi/flexible-graphrag
Affected versions
>=0.6.0 <0.8.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 15:15:18 UTC

Technical Analysis

Flexible GraphRAG is a Python framework for graph and retrieval-augmented generation applications. Versions >=0.6.0 and <0.8.2 have a vulnerability in the _escape() helper function located in flexible-graphrag/langchain/graph/pg_store_adapters/falkordb_adapter.py. The function escapes quotes before backslashes, which allows escape sequences to be doubled and quotes to terminate strings early. When configured with GRAPH_BACKEND=langchain and GRAPH_DB=falkordb, attacker-controlled document content can lead to injection of Cypher clauses that modify or delete graph data. Additionally, dynamic node and relationship type identifiers are inserted into backtick-quoted query positions without safe parameterization, increasing injection risk. The LlamaIndex FalkorDB store is not affected. This vulnerability is addressed in version 0.8.2.

Potential Impact

Successful exploitation allows an attacker to inject Cypher queries that can modify or delete graph data, leading to data integrity loss. Furthermore, if the application surfaces query results to users or language models, sensitive graph data may be disclosed. The vulnerability affects confidentiality, integrity, and availability of the graph database when using the specified configurations.

Mitigation Recommendations

Upgrade Flexible GraphRAG to version 0.8.2 or later, where this vulnerability is fixed. No other mitigation is specified or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-21T16:15:06.492Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ada25314d27ba8daa5f9020

Added to database: 10/22/2026, 15:01:05 UTC

Last enriched: 10/22/2026, 15:15:18 UTC

Last updated: 10/22/2026, 15:16:29 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses