Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-21864

CVE-2026-21864: Valkey-Bloom DOS Vulnerability

CVE-2026-21864 is a denial of service vulnerability in Valkey-Bloom that allows attackers to crash the server via a crafted RESTORE command. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-21864 Overview

CVE-2026-21864 is a Denial of Service vulnerability affecting Valkey-Bloom, a Rust-based Valkey module that implements Bloom Filter data types for the Valkey distributed key-value database. A specially crafted RESTORE command can trigger an assertion failure that causes the Valkey server to shutdown, resulting in a complete denial of service condition.

The vulnerability stems from the Valkey-Bloom module's failure to set the VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS flag, which is required for proper error handling during RDB parsing. Although the module correctly implemented parsing logic, the missing flag causes any parsing errors to trigger a system assertion, leading to immediate server termination.

Critical Impact

Remote attackers can cause immediate server shutdown via network-accessible RESTORE commands, resulting in complete denial of service for all Valkey database operations.

Affected Products

  • lfprojects valkey-bloom (all versions prior to commit a68614b6e3845777d383b3a513cedcc08b3b7ccd)

Discovery Timeline

  • 2026-02-24 - CVE-2026-21864 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-21864

Vulnerability Analysis

This vulnerability is a classic example of improper error handling in modular architecture. The Valkey database server relies on modules to properly declare their error handling capabilities through specific flags. When a module fails to set the VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS flag, the server assumes the module cannot gracefully handle RDB parsing errors and responds by triggering a system assertion, which terminates the entire server process.

The attack is particularly dangerous because it can be executed remotely over the network without authentication requirements. An attacker only needs to send a malformed RESTORE command containing specially crafted data that will cause parsing errors. When the Valkey-Bloom module encounters these errors during RDB deserialization, the missing flag causes the server to immediately halt rather than gracefully reject the malformed input.

Root Cause

The root cause is the absence of the VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS option flag in the Valkey-Bloom module initialization. Valkey modules are contractually required to set this flag to indicate they can properly handle I/O errors during RDB parsing operations. Without this flag, any parsing error—whether malicious or accidental—results in a catastrophic assertion failure rather than controlled error propagation.

The vulnerability falls under CWE-20 (Improper Input Validation), as the module did not properly configure itself to handle invalid input scenarios that arise during the RESTORE command processing.

Attack Vector

The attack exploits the network-accessible RESTORE command interface. An attacker can craft a malicious RESTORE payload targeting Bloom Filter data types. When the Valkey-Bloom module attempts to parse this malformed data, it encounters errors that would normally be handled gracefully. However, due to the missing VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS flag, the Valkey server triggers an assertion failure, causing immediate and complete shutdown of the database service.

The following patch demonstrates the fix that adds the ModuleOptions import to enable proper I/O error handling:

rust
 use crate::bloom::command_handler;
 use crate::bloom::data_type::BLOOM_TYPE;
 use crate::bloom::utils::valid_server_version;
+use valkey_module::ModuleOptions;
 use valkey_module_macros::info_command_handler;
 
 pub const MODULE_NAME: &str = "bf";

Source: GitHub Commit Update

Detection Methods for CVE-2026-21864

Indicators of Compromise

  • Unexpected Valkey server crashes or shutdowns without graceful error messages
  • Log entries showing assertion failures related to RDB parsing or RESTORE command processing
  • Incoming network connections sending malformed RESTORE commands targeting Bloom Filter data types
  • Repeated server restart attempts following assertion-triggered terminations

Detection Strategies

  • Monitor Valkey server logs for assertion failure messages or unexpected termination events
  • Implement network-level inspection for anomalous RESTORE command patterns
  • Deploy SentinelOne Singularity to detect process termination anomalies in database services
  • Audit incoming connections for clients sending unusually structured RESTORE payloads

Monitoring Recommendations

  • Configure alerting on Valkey process crashes and unexpected restarts
  • Monitor system logs for assertion failure stack traces from the Valkey-Bloom module
  • Implement connection rate limiting for clients sending RESTORE commands
  • Use SentinelOne's behavioral AI to detect DoS attack patterns against database infrastructure

How to Mitigate CVE-2026-21864

Immediate Actions Required

  • Update Valkey-Bloom to a version containing commit a68614b6e3845777d383b3a513cedcc08b3b7ccd or later
  • If updating is not immediately possible, disable the RESTORE command using ACL rules if your application does not require it
  • Implement network segmentation to limit access to Valkey instances from untrusted networks
  • Review application dependencies to ensure all Valkey modules are using appropriate error handling flags

Patch Information

The vulnerability has been addressed in commit a68614b6e3845777d383b3a513cedcc08b3b7ccd. This patch adds the VALKEYMODULE_OPTIONS_HANDLE_IO_ERRORS flag to the module initialization, ensuring that I/O errors during RDB parsing are handled gracefully rather than triggering fatal assertions. Refer to the GitHub Security Advisory GHSA-mc2g-h759-3qw2 for complete details and update instructions.

Workarounds

  • Disable the RESTORE command via Valkey ACL configuration if it is not required by your application
  • Implement firewall rules to restrict network access to Valkey instances
  • Use a reverse proxy or API gateway to filter and validate incoming commands before they reach the Valkey server
bash
# Configuration example - Disable RESTORE command via ACL
# Add to valkey.conf or apply via CLI
ACL SETUSER default -RESTORE

# Alternatively, create a restricted user without RESTORE access
ACL SETUSER appuser on >password ~* +@all -RESTORE

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechValkey

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • NVD-CWE-noinfo
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-mc2g-h759-3qw2
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English