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-2021-43858

CVE-2021-43858: MinIO Privilege Escalation Vulnerability

CVE-2021-43858 is a privilege escalation vulnerability in MinIO that allows malicious clients to gain elevated privileges through crafted API calls. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-43858 Overview

CVE-2021-43858 is a privilege escalation vulnerability in MinIO, a Kubernetes native application for cloud storage. Prior to version RELEASE.2021-12-27T07-23-18Z, a malicious client can hand-craft an HTTP API call that allows for updating policy for a user and gaining higher privileges. This flaw enables authenticated users to escalate their permissions beyond what was originally granted, potentially gaining administrative access to the MinIO deployment.

Critical Impact

Authenticated attackers can exploit this vulnerability to modify user policies and escalate privileges, potentially gaining full administrative control over MinIO storage infrastructure and all stored data.

Affected Products

  • MinIO versions prior to RELEASE.2021-12-27T07-23-18Z
  • MinIO deployments on Kubernetes environments
  • MinIO standalone and distributed deployments

Discovery Timeline

  • 2021-12-27 - CVE-2021-43858 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-43858

Vulnerability Analysis

This vulnerability represents a privilege escalation flaw (CWE-269) combined with improper authorization (CWE-863) in MinIO's administrative API handlers. The core issue stems from how the application processed user information updates through its HTTP API, specifically in the cmd/admin-handlers-users.go and cmd/iam-store.go files.

The vulnerable code path accepted a madmin.UserInfo structure during user creation or update operations. This structure contained policy information that could be manipulated by an authenticated client. By crafting a malicious request with arbitrary policy assignments, an attacker with low-level privileges could assign themselves administrative policies, effectively bypassing the intended authorization controls.

The attack requires network access and valid user credentials, but no additional user interaction is needed. Once exploited, the attacker gains the ability to read, modify, and delete any data stored in MinIO, as well as create additional privileged accounts for persistence.

Root Cause

The root cause lies in the improper handling of request body types in the user management API. The original implementation used madmin.UserInfo to unmarshal incoming JSON requests, which included policy fields that should not be user-controllable. This allowed authenticated users to include policy modifications in their requests, which were processed without adequate authorization checks.

The vulnerable code path directly accepted and applied policy changes from the request body without verifying whether the requesting user had the authority to make such policy modifications.

Attack Vector

The attack is executed over the network against MinIO's administrative API endpoints. An authenticated user with minimal privileges can craft a malicious HTTP request to the user update endpoint, including elevated policy assignments in the request body. The server processes these policy changes without proper authorization verification, granting the attacker escalated privileges.

go
// Security patch in cmd/admin-handlers-users.go - Fix user privilege escalation bug (#13976)
 	return
 }

-	var uinfo madmin.UserInfo
-	if err = json.Unmarshal(configBytes, &uinfo); err != nil {
+	var ureq madmin.AddOrUpdateUserReq
+	if err = json.Unmarshal(configBytes, &ureq); err != nil {
 	logger.LogIf(ctx, err)
 	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
 	return
 }

-	if err = globalIAMSys.CreateUser(ctx, accessKey, uinfo); err != nil {
+	if err = globalIAMSys.CreateUser(ctx, accessKey, ureq); err != nil {
 	writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
 	return
 }

Source: GitHub Commit Details

go
// Security patch in cmd/iam-store.go - Fix user privilege escalation bug (#13976)
}

// AddUser - adds/updates long term user account to storage.
-func (store *IAMStoreSys) AddUser(ctx context.Context, accessKey string, uinfo madmin.UserInfo) error {
+func (store *IAMStoreSys) AddUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) error {
 cache := store.lock()
 defer store.unlock()

Source: GitHub Commit Details

Detection Methods for CVE-2021-43858

Indicators of Compromise

  • Unusual API calls to user management endpoints with policy modification parameters
  • Unexpected privilege changes for existing MinIO user accounts
  • Audit log entries showing users accessing resources beyond their original permissions
  • New administrative accounts created by non-administrative users

Detection Strategies

  • Monitor MinIO audit logs for user policy modification requests from low-privilege accounts
  • Implement alerting on any changes to IAM policies outside of established change windows
  • Review API access logs for requests to /minio/admin/v3/add-user with suspicious payload sizes
  • Enable detailed request logging to capture full request bodies for forensic analysis

Monitoring Recommendations

  • Enable and centralize MinIO server logs to a SIEM solution for real-time analysis
  • Create baseline profiles of normal user management API activity and alert on deviations
  • Implement network monitoring for unusual patterns in MinIO administrative traffic
  • Regularly audit user privileges and compare against approved access control lists

How to Mitigate CVE-2021-43858

Immediate Actions Required

  • Upgrade MinIO to version RELEASE.2021-12-27T07-23-18Z or later immediately
  • Audit all existing user accounts and policies for unauthorized privilege escalation
  • Review audit logs for any exploitation attempts prior to patching
  • Rotate credentials for any accounts that may have been compromised

Patch Information

MinIO has released a security patch in version RELEASE.2021-12-27T07-23-18Z that addresses this vulnerability. The fix changes the accepted request body type from madmin.UserInfo to madmin.AddOrUpdateUserReq, removing the ability to apply policy changes through this API endpoint. Detailed patch information is available in the GitHub Security Advisory GHSA-j6jc-jqqc-p6cx and the associated pull request #13976.

Workarounds

  • Add an explicit Deny rule to disable the password change API for users until patching is possible
  • Implement network segmentation to restrict access to MinIO administrative endpoints
  • Use a web application firewall to filter requests containing policy parameters to user management endpoints
  • Temporarily restrict user creation and modification operations to verified administrative hosts only
bash
# Configuration example - Add explicit Deny rule for password change API
# In your MinIO IAM policy configuration, add the following deny statement:
mc admin policy create myminio deny-user-changes '{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Deny",
      "Action": [
        "admin:CreateUser",
        "admin:DeleteUser", 
        "admin:EnableUser",
        "admin:DisableUser"
      ],
      "Resource": [
        "arn:aws:s3:::*"
      ]
    }
  ]
}'

# Apply the deny policy to all non-admin users
mc admin policy attach myminio deny-user-changes --user regularuser

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMinio

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability53.12%

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

  • CWE-863
  • Technical References
  • GitHub Release Tag
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Pull Request #13976

  • GitHub Pull Request #7949

  • GitHub Security Advisory GHSA-j6jc-jqqc-p6cx
  • Related CVEs
  • CVE-2025-62506: MinIO Privilege Escalation Vulnerability

  • CVE-2023-28433: Minio Privilege Escalation Vulnerability

  • CVE-2026-39414: MinIO S3 Select DoS Vulnerability

  • CVE-2026-34204: MinIO Auth Bypass 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