---
id: CVE-2025-59048
title: OpenBao's AWS Plugin generates AWS access credentials based on IAM policies
summary: >-
  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 a…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-694
  - CWE-863
vendor: openbao
product: aws_plugin
affected:
  - aws_plugin < 0.1.1
patched:
  - aws_plugin 0.1.1
published: '2025-10-23'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59048'
references:
  - url: >-
      https://github.com/openbao/openbao-plugins/commit/2a77af36834746ca6d3ac9bd1049154c84b3efae
    label: security-advisories@github.com
  - url: >-
      https://github.com/openbao/openbao-plugins/security/advisories/GHSA-jp7h-4f3c-9rc7
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00266
epssPercentile: 0.16926
ingestedAt: '2026-10-08T11:31:27.559Z'
---

## Overview

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

- `aws_plugin < 0.1.1`

## Remediation

Upgrade past the affected range:

- `aws_plugin 0.1.1`
