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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-28)
- **CWE:** CWE-863, CWE-694
- **Aliases:** GHSA-jp7h-4f3c-9rc7, GO-2025-4067
- **Published:** 2025-10-23T15:09:06.574Z
- **Modified:** 2026-10-08T11:10:00.250Z

## Who should check

- Projects that depend on Go package github.com/openbao/openbao-plugins (\< 0.1.1)
- Anyone running openbao-plugins \< 0.1.1

## 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.

## Affected and fixed versions

- Go `github.com/openbao/openbao-plugins`: affected \< 0.1.1; fixed 0.1.1 (osv)
- openbao-plugins: \< 0.1.1 (cvelist)

## Mitigation

- Upgrade github.com/openbao/openbao-plugins to 0.1.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-59048. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59048.md
Affected: github.com/openbao/openbao-plugins < 0.1.1
Fixed in: 0.1.1

Steps:
1. Search this machine and project for github.com/openbao/openbao-plugins (Go), openbao-plugins: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-59048 being exploited?

There is no confirmed exploitation: CVE-2025-59048 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-59048?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-59048?

github.com/openbao/openbao-plugins \< 0.1.1.

### Is there a fix for CVE-2025-59048?

Yes. Fixed in 0.1.1. Upgrade github.com/openbao/openbao-plugins to 0.1.1 or later.

### How do I check if I'm affected by CVE-2025-59048?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openbao/openbao-plugins/security/advisories/GHSA-jp7h-4f3c-9rc7>
- patch: <https://github.com/openbao/openbao-plugins/commit/2a77af36834746ca6d3ac9bd1049154c84b3efae>
- other: <https://github.com/openbao/openbao-plugins>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-59048>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jp7h-4f3c-9rc7> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4067> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-59048> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-59048>
