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-59048

CVE-2025-59048: OpenBao AWS Plugin Auth Bypass Vulnerability

CVE-2025-59048 is an authentication bypass flaw in OpenBao AWS Plugin that enables cross-account IAM role impersonation, allowing unauthorized access in multi-account environments. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-59048 Overview

CVE-2025-59048 affects the OpenBao auth-aws plugin, which generates AWS access credentials based on Identity and Access Management (IAM) policies. Versions prior to 0.1.1 allow cross-account IAM role impersonation in the AWS auth method. An IAM role from an untrusted AWS account can authenticate by impersonating a role with an identical name in a trusted account. This grants unauthorized access to secrets governed by OpenBao policies bound to that role name. The flaw impacts any deployment of the auth-aws plugin running in multi-account AWS environments where IAM role names are not unique across accounts. The issue is tracked under [CWE-694] Use of Multiple Resources with Duplicate Identifier.

Critical Impact

Attackers controlling an IAM role in an untrusted AWS account can authenticate to OpenBao as a same-named role in a trusted account, breaking the AWS authentication trust boundary.

Affected Products

  • OpenBao auth-aws plugin versions prior to 0.1.1
  • OpenBao deployments using the AWS auth method in multi-account AWS environments
  • Any OpenBao policy binding that references IAM role names not scoped by AWS account ID

Discovery Timeline

  • 2025-10-23 - CVE-2025-59048 published to the National Vulnerability Database (NVD)
  • 2025-12-05 - Last updated in NVD database

Technical Details for CVE-2025-59048

Vulnerability Analysis

The OpenBao auth-aws plugin authenticates clients by validating signed AWS Security Token Service (STS) requests and matching the returned IAM role identity against a configured OpenBao role binding. Before version 0.1.1, the plugin's internal client caching keyed AWS service clients by region and STS role only, omitting the AWS account ID. As a result, clients from different accounts that shared an IAM role name collapsed into a single cache entry. An attacker holding an IAM role named, for example, prod-app-role in an attacker-controlled account could authenticate against an OpenBao role bound to prod-app-role in the legitimate account. The plugin would issue tokens with the trusted role's policies. This violates the tenant isolation expected of the AWS auth method and exposes any secret the trusted role is authorized to read.

Root Cause

The root cause is an incomplete identifier used during client lookup and role resolution. The cached EC2 and IAM client maps were declared as map[string]map[string]*ec2.EC2 and map[string]map[string]*iam.IAM, indexed by region and STS role only. AWS account ID was not part of the composite key, so duplicate role names across accounts were treated as the same principal. The patch in commit 2a77af3 adds an additional map dimension so clients are now indexed by region, account ID, and STS role.

Attack Vector

Exploitation requires the attacker to create or control an IAM role in any AWS account that can reach the OpenBao server's AWS auth endpoint. The attacker names that role identically to a privileged role in a trusted account already bound in OpenBao. The attacker signs an sts:GetCallerIdentity request from their role and submits it to the OpenBao login API. The vulnerable plugin matches the role name without validating the account ID and issues a token tied to the trusted role's policies.

go
// Patch from auth/aws/backend.go (commit 2a77af3)
// Before: clients indexed by region and STS role only
// EC2ClientsMap map[string]map[string]*ec2.EC2
// IAMClientsMap map[string]map[string]*iam.IAM

// After: clients indexed by region, account ID, and STS role
EC2ClientsMap map[string]map[string]map[string]*ec2.EC2
IAMClientsMap map[string]map[string]map[string]*iam.IAM

// Source: https://github.com/openbao/openbao-plugins/commit/2a77af36834746ca6d3ac9bd1049154c84b3efae

Detection Methods for CVE-2025-59048

Indicators of Compromise

  • OpenBao audit log entries showing successful auth/aws/login events for IAM roles whose AWS account ID does not match the account ID configured for the bound OpenBao role.
  • AWS CloudTrail sts:GetCallerIdentity calls originating from IAM principals in unexpected accounts immediately preceding OpenBao token issuance.
  • Issued OpenBao tokens with policies that do not align with the source IAM principal's actual AWS account.

Detection Strategies

  • Correlate OpenBao audit logs with AWS CloudTrail events and flag any login where the AWS account ID in the STS response differs from the account ID expected for the bound OpenBao role.
  • Inventory all IAM roles across every AWS account that can reach the OpenBao server and alert on duplicate role names spanning account boundaries.
  • Review OpenBao role configurations under auth/aws/role/* for bound_iam_principal_arn values that do not pin a specific account ID.

Monitoring Recommendations

  • Enable verbose OpenBao audit logging and forward both audit logs and AWS CloudTrail to a centralized analytics platform for cross-source correlation.
  • Alert on first-seen account IDs presenting STS identities to the OpenBao AWS auth endpoint.
  • Monitor for sudden spikes in auth/aws/login failures or successes against high-privilege roles, which may indicate enumeration of role names.

How to Mitigate CVE-2025-59048

Immediate Actions Required

  • Upgrade the OpenBao auth-aws plugin to version 0.1.1 or later on every OpenBao node and restart the plugin to clear cached AWS clients.
  • Audit all OpenBao AWS auth role bindings and replace role-name-only bindings with full role ARNs that include the AWS account ID.
  • Rotate any OpenBao tokens, dynamic AWS credentials, and downstream secrets that may have been issued through the vulnerable code path.

Patch Information

The vulnerability is fixed in auth-aws plugin version 0.1.1. The fix is implemented in commit 2a77af36834746ca6d3ac9bd1049154c84b3efae, which extends the cached client maps to include AWS account ID as part of the composite key. See the OpenBao GitHub Security Advisory GHSA-jp7h-4f3c-9rc7 and the upstream patch commit for details.

Workarounds

  • Guarantee that IAM role names are unique across every AWS account that can interact with the OpenBao environment.
  • Audit existing IAM inventories for duplicate role names and rename or remove collisions before re-enabling the AWS auth method.
  • Where possible, restrict the OpenBao AWS auth endpoint to trusted network paths so that only known accounts can reach it.
bash
# Configuration example: bind OpenBao roles to full IAM principal ARNs
# (including the AWS account ID) rather than role names alone.
bao write auth/aws/role/prod-app-role \
    auth_type=iam \
    bound_iam_principal_arn="arn:aws:iam::111122223333:role/prod-app-role" \
    policies="prod-app-policy" \
    ttl=1h

# Verify the plugin version after upgrade
bao plugin info auth auth-aws

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenbao Aws Plugin

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-694
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free 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