CVE-2026-21864
📋 TL;DR
A vulnerability in Valkey-Bloom module allows a specially crafted RESTORE command to trigger an assertion failure, causing the Valkey server to shut down. This affects systems running Valkey with the Valkey-Bloom module enabled. The issue occurs because the module didn't set the required error handling flag for RDB parsing.
💻 Affected Systems
- Valkey-Bloom module for Valkey
📦 What is this software?
Valkey Bloom by Lfprojects
⚠️ Risk & Real-World Impact
Worst Case
Complete denial of service through server crash, potentially disrupting dependent applications and services.
Likely Case
Service disruption through server shutdown when malicious RESTORE commands are processed.
If Mitigated
Minimal impact if RESTORE command is disabled or module is patched.
🎯 Exploit Status
Exploitation requires ability to send RESTORE commands to vulnerable Valkey instance.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Commit a68614b6e3845777d383b3a513cedcc08b3b7ccd
Vendor Advisory: https://github.com/valkey-io/valkey-bloom/security/advisories/GHSA-mc2g-h759-3qw2
Restart Required: Yes
Instructions:
1. Update Valkey-Bloom module to version containing commit a68614b6e3845777d383b3a513cedcc08b3b7ccd. 2. Restart Valkey server to load patched module.
🔧 Temporary Workarounds
Disable RESTORE command
allPrevent exploitation by disabling the RESTORE command if not required by application.
redis-cli CONFIG SET rename-command RESTORE ""
🧯 If You Can't Patch
- Disable RESTORE command using Valkey configuration
- Implement network controls to restrict access to Valkey RESTORE command
🔍 How to Verify
Check if Vulnerable:
Check if Valkey-Bloom module is loaded and version predates commit a68614b6e3845777d383b3a513cedcc08b3b7ccd.
Check Version:
Check module version via Valkey INFO command or module documentation
Verify Fix Applied:
Verify module version includes commit a68614b6e3845777d383b3a513cedcc08b3b7ccd and test RESTORE command functionality.
📡 Detection & Monitoring
Log Indicators:
- Valkey server crash logs
- Assertion failure messages related to RDB parsing
Network Indicators:
- Multiple RESTORE command attempts to Valkey server
SIEM Query:
Search for 'assertion failed' or 'server shutdown' in Valkey logs following RESTORE commands