A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-5999

CVE-2025-5999: HashiCorp Vault Privilege Escalation Flaw

CVE-2025-5999 is a privilege escalation vulnerability in HashiCorp Vault allowing operators to elevate token privileges to root policy. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2025-5999 Overview

CVE-2025-5999 is a privilege escalation vulnerability in HashiCorp Vault. A privileged operator with write permissions to the root namespace's identity endpoint can escalate their own token, or another user's token, to Vault's root policy. The flaw is tracked as [CWE-266: Incorrect Privilege Assignment] and affects both Vault Community Edition and Vault Enterprise.

HashiCorp addressed the issue in Vault Community Edition 1.20.0 and Vault Enterprise 1.20.0, 1.19.6, 1.18.11, and 1.16.22. The advisory is published as HCSEC-2025-13.

Critical Impact

An authenticated operator with identity-endpoint write access can promote any token to Vault's root policy, gaining full administrative control over all secrets, policies, and authentication backends.

Affected Products

  • HashiCorp Vault Community Edition prior to 1.20.0
  • HashiCorp Vault Enterprise prior to 1.20.0, 1.19.6, 1.18.11, and 1.16.22
  • Deployments using the root namespace identity endpoint

Discovery Timeline

  • 2025-08-01 - CVE-2025-5999 published to NVD
  • 2025-08-13 - Last updated in NVD database

Technical Details for CVE-2025-5999

Vulnerability Analysis

The vulnerability resides in Vault's identity subsystem within the root namespace. Vault uses identity entities and groups to map authenticated principals to policies. The root namespace identity endpoint did not properly constrain which policies an operator could assign during entity or group modification operations.

An operator holding write privileges on identity/* paths within the root namespace can craft requests that attach the built-in root policy to an identity entity or group. Tokens belonging to that entity or group then inherit root-level capabilities. This breaks Vault's policy separation model, where root policy assignment is meant to be restricted to existing root-token holders.

The issue is classified as [CWE-266: Incorrect Privilege Assignment]. Exploitation requires authentication and high privileges, but the resulting impact compromises confidentiality, integrity, and availability across the entire Vault deployment.

Root Cause

Vault's identity endpoint handlers in the root namespace failed to enforce that the root policy could not be assigned through standard write operations. The authorization check distinguished identity write capability from the stricter check required to grant the root policy. This allowed any caller with create or update on identity/entity or identity/group to elevate token bindings.

Attack Vector

The attack is conducted over the network against Vault's HTTP API. An authenticated operator issues a write request to an identity endpoint such as identity/entity or identity/group, supplying root in the policies parameter. The operator then generates or refreshes a token for the modified entity. The token receives unrestricted root capabilities, including the ability to read, write, or delete every secret, revoke tokens, modify audit devices, and disable seal protection.

The vulnerability mechanism is described in the HashiCorp advisory linked under references. No public proof-of-concept code has been released, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2025-5999

Indicators of Compromise

  • Audit log entries showing write operations to identity/entity, identity/entity-alias, or identity/group paths where the request payload includes the root policy.
  • Tokens associated with non-root entities that resolve to the root policy when inspected with vault token lookup.
  • Unexpected creation or modification of identity groups in the root namespace by operators who do not normally administer identity.

Detection Strategies

  • Enable and forward Vault audit device logs to a centralized analytics platform and alert on identity write operations that reference the root policy.
  • Periodically enumerate identity entities and groups using vault read identity/entity/id/<id> and flag any that list root in policies.
  • Correlate identity modifications with subsequent token creation events to identify privilege chains that result in root-equivalent access.

Monitoring Recommendations

  • Baseline normal write activity on identity/* endpoints and alert on deviations, particularly outside change windows.
  • Monitor the use of root tokens and any tokens whose effective policy list contains root.
  • Review authentication events from accounts holding the privileged identity write capability for unusual source IPs or session timing.

How to Mitigate CVE-2025-5999

Immediate Actions Required

  • Upgrade Vault to a fixed release: Community Edition 1.20.0 or Enterprise 1.20.0, 1.19.6, 1.18.11, or 1.16.22.
  • Audit all identity entities and groups in the root namespace and remove any unauthorized assignment of the root policy.
  • Rotate tokens and credentials issued to entities that may have been modified while the vulnerability was exploitable.

Patch Information

HashiCorp fixed the issue in Vault Community Edition 1.20.0 and Vault Enterprise 1.20.0, 1.19.6, 1.18.11, and 1.16.22. Full remediation details are available in the HashiCorp Discussion on HCSEC-2025-13.

Workarounds

  • Restrict policies granting write access to identity/* paths in the root namespace to a minimal set of trusted operators.
  • Move tenant workloads into non-root namespaces where the elevation path is not reachable, and reserve the root namespace for administrative use only.
  • Enable audit logging on all Vault listeners so identity changes are recorded and reviewable until patching is complete.
bash
# Configuration example: restrict identity write capability via a policy
path "identity/entity" {
  capabilities = ["read", "list"]
}

path "identity/group" {
  capabilities = ["read", "list"]
}

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechHashicorp Vault

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-266
  • Vendor Resources
  • HashiCorp Discussion on HCSEC-2025-13
  • Related CVEs
  • CVE-2026-5052: HashiCorp Vault Information Disclosure

  • CVE-2026-3605: HashiCorp Vault DoS Vulnerability

  • CVE-2025-4166: HashiCorp Vault Information Disclosure Bug

  • CVE-2025-11621: HashiCorp Vault Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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