Skip to content

CVE-2025-59048 OpenBao AWS Plugin Vulnerable to Cross-Account IAM Role Impersonation in AWS Auth Method

HighCVSS 8.1 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Cloud Platforms

Description

OpenBao's AWS Plugin generates AWS access credentials based on IAM policies. Prior to version 0.1.1, the AWS Plugin is vulnerable to cross-account IAM role Impersonation in the AWS auth method. The vulnerability allows an IAM role from an untrusted AWS account to authenticate by impersonating a role with the same name in a trusted account, leading to unauthorized access. This impacts all users of the auth-aws plugin who operate in a multi-account AWS environment where IAM role names may not be unique across accounts. This vulnerability has been patched in version 0.1.1 of the auth-aws plugin. A workaround for this issue involves guaranteeing that IAM role names are unique across all AWS accounts that could potentially interact with your OpenBao environment, and to audit for any duplicate IAM roles.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
openbao github.com/openbao/openbao-plugins(Go) < 0.1.1; <= 0.1.0; All versions 0.1.1 Partially fixed
openbao aws plugin < 0.1.1 0.1.1 Fixed
openbao github.com/openbao/openbao-plugins = < 0.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openbao github.com/openbao/openbao-plugins(Go) < 0.1.1 0.1.1
openbao github.com/openbao/openbao-plugins(Go) All versions No fix listed
openbao github.com/openbao/openbao-plugins(Go) <= 0.1.0 No fix listed
openbao github.com/openbao/openbao-plugins = < 0.1.1 No fix listed
openbao aws plugin < 0.1.1 0.1.1

References