# CVE-2026-107911: FalkorDB type confusion in _read_flags function

Source: https://junglewise.ai/threats/cve-2026-107911-a-type-confusion-vulnerability-in-the-read-flags-function-src  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-09. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-107911 · Severity: high · CVSS 7.5 · Published 2026-10-09

FalkorDB is a graph database that stores and queries relationship data. A vulnerability in its command processing allows an authenticated attacker to cause the database to crash, leak memory contents, or corrupt data by sending specially crafted GRAPH.QUERY commands. The flaw affects all default configurations because it processes a malicious argument even when the affected feature is disabled.

Technologies: [FalkorDB](https://junglewise.ai/threats/technologies/falkordb). Vendors: [FalkorDB](https://junglewise.ai/threats/vendors/falkordb).

## Quick answers

**Is CVE-2026-107911 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-107911 being exploited in the wild.

**How severe is CVE-2026-107911?** High severity, with a CVSS score of 7.5, published 9 October 2026.

**Which products and versions are affected?** FalkorDB before 4.20.0.

**Is there a fix for CVE-2026-107911?** Yes: fixed in FalkorDB 4.20.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-107911 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-107911?** Check whether you run FalkorDB at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in FalkorDB 4.20.0

## Technical details

A type confusion vulnerability in the _read_flags function (src/commands/cmd_dispatcher.c) casts a Redis string object to a Bolt client structure without validation, allowing an authenticated attacker to dereference attacker-controlled pointers. The vulnerable code path is reachable via GRAPH.QUERY with a --bolt argument even when the Bolt endpoint is disabled, leading to denial of service, memory disclosure, or memory corruption.

## Affected products

- FalkorDB FalkorDB before 4.20.0

## Timeline

- 2026-10-09: disclosed

## References

- [https://github.com/FalkorDB/FalkorDB](https://github.com/FalkorDB/FalkorDB)
- [https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593bd7d](https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593bd7d)

## Related threats

- [FalkorDB improper authentication in Bolt endpoint](https://junglewise.ai/threats/cve-2026-107910-an-improper-authentication-vulnerability-in-the-is-authenticated)
- [FalkorDB heap-based buffer overflow in WebSocket frame handling](https://junglewise.ai/threats/cve-2026-107909-a-heap-based-out-of-bounds-write-in-the-ws-read-frame-function)
- [FalkorDB heap-based buffer overflow in Bolt handler](https://junglewise.ai/threats/cve-2026-107908-a-heap-based-out-of-bounds-write-in-the-boltreadhandler-function)
- [FalkorDB stack-based buffer overflow in RDB graph entity decoder](https://junglewise.ai/threats/cve-2026-7827-a-stack-based-buffer-overflow-in-the-rdbloadentity-function-of-the)
- [FalkorDB heap-based out-of-bounds read in buffer serializer](https://junglewise.ai/threats/cve-2026-7826-a-heap-based-out-of-bounds-read-in-the-bufferserializeriov2)
