CVE-2025-59048: Github.com/openbao/openbao plugins OpenBao AWS Plugin Vulnerable To Vulnerability
HIGHCVE-2025-59048 is a HIGH (CVSS 8.1) openbao aws plugin vulnerable to vulnerability (CWE-694: Use of Multiple Resources with Duplicate Identifier) affecting Github.com/openbao/openbao plugins libraries in the Go ecosystem. The issue involves openbao aws plugin vulnerable to cross-account iam role impersonation in aws auth method. Remediation is available by upgrading affected packages to version 0.1.1.
CVE-2025-59048 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-59048
To remediate this vulnerability, upgrade all affected Github.com/openbao/openbao plugins dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openbao/openbao-plugins to 0.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openbao/openbao-plugins
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-59048, inspect your project dependencies for Github.com/openbao/openbao plugins:
inspect dependencies for github.com/openbao/openbao-plugins
Analyze the terminal output to locate any version of Github.com/openbao/openbao plugins in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-694: Use of Multiple Resources with Duplicate Identifier, where the product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required. In Github.com/openbao/openbao plugins, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-59048 Affected Github.com/openbao/openbao plugins Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openbao/openbao-plugins
|
Go |
< 0.1.1
|
0.1.1
|
References
Frequently Asked Questions
What is CVE-2025-59048?
Which Github.com/openbao/openbao plugins versions are affected?
What version fixes CVE-2025-59048?
Is github.com/openbao/openbao-plugins affected?
What is the CVSS score of CVE-2025-59048?
What CWE is associated with CVE-2025-59048?
How can I check Go dependencies for CVE-2025-59048?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jp7h-4f3c-9rc7",
"modified" : "2025-10-23T16:01:27Z",
"published" : "2025-10-23T16:01:27Z",
"aliases" : [ "CVE-2025-59048" ],
"summary" : "OpenBao AWS Plugin Vulnerable to Cross-Account IAM Role Impersonation in AWS Auth Method",
"details" : "### Impact\nThis is a cross-account impersonation vulnerability in the `auth-aws` plugin. 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.\n\nThis 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.\n\nThe core of the vulnerability is a flawed caching mechanism that fails to validate the AWS Account ID during authentication. While the use of wildcards in a `bound_iam_principal_arn configuration` significantly increases the attack surface, **wildcards are not a prerequisite for exploitation**. The vulnerability can be exploited with specific ARN bindings if a role name collision occurs.\n\nSuccessful exploitation can lead to unauthorized access to secrets, data exfiltration, and privilege escalation. Given that the only prerequisite is a duplicate role name, the severity is considered **high**.\n\n### Patches\nThis vulnerability has been patched in version **0.1.1** of the `auth-aws` plugin.\nUsers are advised to upgrade to version **0.1.1** or later to remediate this vulnerability.\n\n### Workarounds\nFor users who are unable to upgrade to version **0.1.1** immediately, the most effective workaround is to **guarantee that IAM role names are unique across all AWS accounts** that could potentially interact with your OpenBao environment. This is the most critical mitigation step.\n\n**Primary Mitigation**: Audit your AWS organizations to identify and rename any duplicate IAM role names. Enforce a naming convention that includes account-specific identifiers to prevent future collisions.\n\nWhile removing wildcards from your `bound_iam_principal_arn` configuration is still recommended as a security best practice, it **will not** mitigate this vulnerability if duplicate role names exist.\n\n### Credits\nThis vulnerability was discovered and reported by [Pavlos Karakalidis](https://github.com/pkarakal/)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openbao/openbao-plugins"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.1.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openbao/openbao-plugins/security/advisories/GHSA-jp7h-4f3c-9rc7"
}, {
"type" : "WEB",
"url" : "https://github.com/openbao/openbao-plugins/commit/2a77af36834746ca6d3ac9bd1049154c84b3efae"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openbao/openbao-plugins"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-694", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-23T16:01:27Z",
"nvd_published_at" : null
}
}