The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-21862

CVE-2026-21862: RustFS Auth Bypass Vulnerability

CVE-2026-21862 is an authentication bypass flaw in RustFS distributed storage that allows attackers to spoof IP addresses and circumvent access controls. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2026-21862 Overview

CVE-2026-21862 is an authentication bypass vulnerability in RustFS, a distributed object storage system built in Rust. Prior to version alpha.78, the IP-based access control mechanism can be bypassed because the get_condition_values function trusts client-supplied X-Forwarded-For and X-Real-Ip headers without verifying a trusted proxy. This allows any reachable client to spoof the aws:SourceIp value and satisfy IP-allowlist policies, effectively circumventing access controls.

Critical Impact

Attackers can bypass IP-based access control restrictions by spoofing trusted headers, potentially gaining unauthorized access to protected object storage resources.

Affected Products

  • RustFS versions prior to alpha.78

Discovery Timeline

  • 2026-02-03 - CVE CVE-2026-21862 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2026-21862

Vulnerability Analysis

This vulnerability falls under CWE-290 (Authentication Bypass by Spoofing), where the application accepts security-critical information from an untrusted source without proper verification. The RustFS storage system implements IP-based access control policies that rely on the aws:SourceIp condition to restrict access to specific IP addresses or ranges. However, the get_condition_values function responsible for extracting client IP information improperly trusts the X-Forwarded-For and X-Real-Ip HTTP headers without validating whether the request originates from a trusted proxy.

In typical deployment scenarios, these headers are set by reverse proxies or load balancers to preserve the original client IP address. However, when the application directly accepts these headers from any client without proxy verification, attackers can craft requests with arbitrary IP addresses in these headers, effectively impersonating trusted IP addresses that would normally be allowed by the access control policy.

Root Cause

The root cause lies in the get_condition_values function which extracts IP address information from HTTP headers. The function fails to implement a trusted proxy verification mechanism, meaning it accepts X-Forwarded-For and X-Real-Ip header values from any source. Without a whitelist of trusted proxy addresses or proper header chain validation, the application cannot distinguish between legitimate proxy-forwarded headers and attacker-spoofed headers.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker with network access to the RustFS service can exploit this vulnerability by:

  1. Identifying IP addresses or ranges that are allowed by the target's access control policy
  2. Crafting HTTP requests with X-Forwarded-For or X-Real-Ip headers set to an allowed IP address
  3. Sending these requests directly to the RustFS service
  4. The get_condition_values function extracts the spoofed IP from the headers
  5. The access control evaluation uses the spoofed IP, matching the allowlist policy
  6. The attacker gains unauthorized access to protected resources

The exploitation is straightforward as it only requires adding HTTP headers to requests. No complex exploit code is necessary—standard HTTP clients or tools like curl can add the required headers to bypass IP-based restrictions.

Detection Methods for CVE-2026-21862

Indicators of Compromise

  • Requests containing X-Forwarded-For or X-Real-Ip headers that did not originate from known proxy servers
  • Access logs showing successful requests from IP addresses that should be blocked by policy but contain spoofed headers
  • Unusual access patterns to protected resources from unexpected network sources
  • Multiple requests with varying X-Forwarded-For values from the same actual source IP

Detection Strategies

  • Implement logging that captures both the actual connection IP and any X-Forwarded-For/X-Real-Ip header values for comparison
  • Monitor for requests where the header-claimed IP differs significantly from the actual source IP
  • Deploy network-level monitoring to detect direct connections to RustFS that bypass expected proxy infrastructure
  • Create alerts for access to sensitive resources that include suspicious IP-spoofing headers

Monitoring Recommendations

  • Enable detailed access logging in RustFS including all relevant HTTP headers
  • Correlate RustFS access logs with reverse proxy or load balancer logs to identify inconsistencies
  • Monitor for reconnaissance activity such as enumeration attempts from unusual sources
  • Establish baseline patterns for legitimate IP addresses accessing protected resources

How to Mitigate CVE-2026-21862

Immediate Actions Required

  • Upgrade RustFS to version alpha.78 or later immediately
  • Review access logs for any suspicious activity that may indicate prior exploitation
  • Audit current IP-based access control policies to understand exposure
  • Consider implementing additional authentication mechanisms beyond IP-based controls

Patch Information

The vulnerability has been patched in RustFS version alpha.78. Organizations should upgrade to this version or later to remediate the vulnerability. For detailed information about the security fix, refer to the GitHub Security Advisory.

Workarounds

  • Deploy RustFS behind a reverse proxy that strips or sanitizes X-Forwarded-For and X-Real-Ip headers from untrusted sources
  • Implement network-level access controls (firewall rules, security groups) to restrict access to trusted networks
  • Add authentication requirements beyond IP-based controls for sensitive resources
  • If direct client connections are not expected, configure network infrastructure to only allow connections from known proxy servers
bash
# Example nginx configuration to sanitize forwarded headers
# Only trust X-Forwarded-For from known proxy addresses
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
real_ip_header X-Forwarded-For;
real_ip_recursive on;

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechRustfs

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-290
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27607: Rustfs Auth Bypass Vulnerability

  • CVE-2025-68926: Rustfs Auth Bypass Vulnerability

  • CVE-2026-27822: RustFS Console Stored XSS Vulnerability

  • CVE-2026-24762: RustFS Information Disclosure Vulnerability
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