CVE-2025-59048CWE-694CWE-863broken-access-control

CVE-2025-59048

High · published October 23, 2025

CVSS v3.1
8.1
EPSS
0%
Percentile
17.5
In the wild
Unconfirmed
What it is

⚡ IAM role impersonation is the sneaky trick at play here! Before version 0.1.1 of OpenBao's AWS Plugin, an attacker could confidently impersonate a trusted role from another AWS account, like a double agent slipping through the cracks. 🔥 Picture a hotel where guests can check in with the same name — chaos ensues when a guest with a shady past impersonates someone trustworthy! In the same vein, this vulnerability allows an untrusted IAM role to masquerade as a trusted one, leading to unauthorized access like a thief enjoying room service on someone else's tab. If exploited, an attacker could gain unauthorized access to your AWS resources, potentially wreaking havoc across multiple accounts. This could lead to data breaches, resource manipulation, or even a complete takeover of sensitive services, making it a major security threat.

Put simply

Picture a hotel where guests can check in with the same name — chaos ensues when a guest with a shady past impersonates someone trustworthy! In the same vein, this vulnerability allows an untrusted IAM role to masquerade as a trusted one, leading to unauthorized access like a thief enjoying room service on someone else's tab. The vulnerability allows an untrusted AWS account's IAM role to authenticate using the same name as a trusted role in your environment, essentially bypassing security controls meant to isolate account permissions.

What to do

If exploited, an attacker could gain unauthorized access to your AWS resources, potentially wreaking havoc across multiple accounts. This could lead to data breaches, resource manipulation, or even a complete takeover of sensitive services, making it a major security threat. Immediately upgrade the OpenBao AWS Plugin to version 0.1.1 to patch this vulnerability. As a workaround, ensure that IAM role names are unique across all AWS accounts involved with OpenBao, and conduct an audit for any duplicate IAM roles to reinforce security. You've got this! Follow these steps, and you'll keep your AWS environment secure and sound! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00266 · 17.5th percentile
Weaknesses
CWE-694 · Use of Multiple Resources with Duplicate Identifier; CWE-863 · Incorrect Authorization
Published
2025-10-23T20:16Z
Affected products (1)
ProductVersionsFixed in
openbao/aws_plugin< 0.1.10.1.1
References (2)
EPSS history
Timeline
  • 23 OCT 15:09Z
    OpenBao AWS Plugin Vulnerable to Cross-Account IAM Role Impersonation in AWS Auth Method
    cvelistv5