Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FalkorDB query endpoint
-
DeliverySend crafted UNION-clause graph query
-
ExploitOverflow stack in _ValidateUnion_Clauses AST validation
-
ExecutionCrash FalkorDB module process
-
ImpactDenial of service to dependent apps
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the ability to submit a graph query to a FalkorDB instance (Redis module) versions v4.20.1 through v4.20.4, with a crafted UNION clause that is processed by _ValidateUnion_Clauses during AST validation. Exploitation is limited by the need for network reachability to the Redis/FalkorDB endpoint and, in typical hardened deployments, valid Redis AUTH credentials or trusted-network placement - the CVSS PR:N assumes an exposed, unauthenticated query interface, which is not guaranteed. Impact is confined to crashing the process (availability only); no user interaction and no special non-default feature toggle is required beyond having the graph query interface enabled. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) rates this as a network-reachable, low-complexity availability-only issue with no confidentiality or integrity impact - a pure crash/DoS. However, the signal set is thin and partly conflicting: there is no EPSS score, no CISA KEV listing, and no public proof-of-concept - so this is no public exploit identified at time of analysis. The PR:N in the vector implies unauthenticated reach, but FalkorDB is a Redis module and query execution (GRAPH.QUERY) is normally gated behind Redis network exposure and, in most deployments, an AUTH password or a trusted-network boundary, so the effective attack surface is narrower than PR:N suggests - verify whether the affected instance requires authentication. The technical impact is limited to a single-process crash (S:U, worker/module denial of service), not code execution or data exposure. Net: a legitimate but moderate-priority reliability bug for teams actually running FalkorDB with reachable query endpoints, not a high-urgency actively-exploited threat. |
| Exploit ScenarioDerived | An attacker who can reach the FalkorDB/Redis endpoint submits a crafted graph query whose UNION clause structure drives excessive/recursive processing in _ValidateUnion_Clauses during AST validation, overflowing the stack and crashing the process. No public exploit code exists, but the trigger is a single malformed query rather than a multi-step chain, keeping complexity low (AC:L). Repeated requests keep the database unavailable, denying service to dependent applications. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
A stack overflow in the _ValidateUnion_Clauses routine of FalkorDB (a Redis graph module) versions 4.20.1 through 4.20.4 lets a crafted graph query containing a malicious UNION clause crash the database process, producing a denial of service. Per the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) the flaw is network-reachable, low-complexity, and requires no privileges or user interaction, with impact confined to availability - no confidentiality or integrity loss. No public exploit code has been identified at time of analysis and the issue is not listed in CISA KEV; exploitation nonetheless requires network reachability to the FalkorDB/Redis endpoint, and in hardened deployments with Redis AUTH or ACLs the PR:N assumption may not hold in practice.
RemediationAI
No vendor-released patch has been identified at time of analysis; the only upstream reference supplied is the tracking issue at https://github.com/FalkorDB/FalkorDB/issues/2329, which should be monitored for a fixed module version before upgrading. Until a patched release is available, the highest-value control is to remove network exposure of the FalkorDB endpoint: bind Redis to loopback or a private interface, place it behind a firewall/security group that permits only trusted application hosts on the Redis port, and require strong Redis AUTH together with ACLs that restrict the GRAPH query commands to trusted clients, since an unauthenticated exposed query interface is the scenario the PR:N rating assumes. Where the graph interface cannot be fully restricted, run FalkorDB under a supervisor or orchestrator that automatically restarts the process on crash and enforce query timeouts and connection-level rate limits to reduce the frequency and blast radius of repeated triggering attempts. Trade-offs: blocking the port or tightening ACLs breaks legitimate remote clients and must be coordinated with applications; renaming or disabling GRAPH commands via rename-command/ACL categories delivers the strongest short-term mitigation but disables the graph feature entirely for those clients. Monitor Redis/FalkorDB logs and crash dumps for process exits correlated with UNION-containing queries to detect attempted exploitation and to validate that the compensating controls are effective.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FalkorDB is a Redis module that adds a property-graph database with OpenCypher-style query support; queries submitted to the graph engine are parsed and then run through a semantic validation pass before execution. The defect sits in _ValidateUnion_Clauses in /ast/ast_validations.c, the validation walker responsible for checking the structure and compatibility of UNION / UNION ALL branches in a query AST. A crafted query drives that routine into unbounded stack usage - a classic stack-exhaustion/overflow condition, often arising when the validation logic recurses over nested or repeatedly composed query clauses without an adequate depth or size guard. Because the crash occurs during AST validation, it is reachable before query execution, meaning no elevated privileges or special feature toggles are needed beyond the ability to submit a graph query. The reference (CWE not supplied in the source record) is consistent with the weakness class of uncontrolled resource consumption / stack-based buffer overflow, and the impact is bounded to process termination, since the overflowing path is not shown to yield memory corruption exploitable for code execution.
Know when Redis gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable crafted query, low complexity, no UI; PR:N kept to match the described unauthenticated parser trigger though real deployments often gate on Redis AUTH; impact is availability-only crash.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
FalkorDB (Redis module) v4.20.1 to v4.20.4 was discovered to contain a stack overflow in the _ValidateUnion_Clauses function (/ast/ast_validations.c). This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
Articles & Coverage 1
Executive ViewAI
FalkorDB versions 4.20.1 through 4.20.4, a graph database module running on top of Redis, contain a stack overflow that lets an unauthenticated network-reachable attacker crash the database process with a single crafted query. Any service or application that depends on FalkorDB for graph queries-recommendation engines, fraud detection, knowledge graph features-will lose availability for as long as the crash persists, and recovery typically requires operator intervention. Because no vendor patch is currently available, leadership should treat this as an operational resilience risk requiring interim network and access controls rather than a routine patch cycle item.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to the FalkorDB/Redis endpoint to trusted hosts only; enable Redis AUTH and least-privilege ACLs so unauthenticated reach is eliminated in practice despite the PR:N vector; apply proxy or application-layer filtering and rate limiting to block anomalous or nested UNION clauses; enable crash logging, alerting, and supervised auto-restart to reduce outage duration; isolate FalkorDB instances from other critical services to contain blast radius. Apply vendor patch when released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers
Alpine Linux: valkey fixed in 7.2.7-r0
UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.
Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle
It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,
Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.
A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr
Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig
Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in
CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1
Code injection in OneUptime monitoring via custom JS monitor using vm module. PoC and patch available.
EUVD-2026-84192
GHSA-h6rr-j955-q95r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB