CVE-2025-54996: OpenBao Root Namespace Operator May Elevate Token Privileges

Published Aug 8, 2025
·
Updated

Impact

Accounts with access to the highly-privileged identity entity system in the root namespace may increase their scope directly to the root policy. While the identity system always allowed adding arbitrary policies, which in turn could contain capability grants on arbitrary paths, the root policy is restricted to manual generation using unseal or recovery key shares. The global root policy is not accessible from child namespaces.

Patches

OpenBao v2.3.2 will patch this issue.

Workarounds

Use of deniedparameters in any policy which has access to the affected identity endpoints (on identity entities) may be sufficient to prohibit this type of attack.

References

This issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets:

- https://discuss.hashicorp.com/t/hcsec-2025-13-vault-root-namespace-operator-may-elevate-token-privileges/76032 - https://nvd.nist.gov/vuln/detail/cve-2025-5999

Other sources

OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, accounts with access to highly-privileged identity entity systems in root namespaces were able to increase their scope directly to the root policy. While the identity system allowed adding arbitrary policies, which in turn could contain capability grants on arbitrary paths, the root policy was restricted to manual generation using unseal or recovery key shares. The global root policy was not accessible from child namespaces. This issue is fixed in version 2.3.2. To workaround this vulnerability, use of deniedparameters in any policy which has access to the affected identity endpoints (on identity entities) may be sufficient to prohibit this type of attack.

MITRE

Affected Software

3 affected componentsFixes available
go/github.com/openbao/openbao<0.0.0-20250806193240-9b0b5d4f345f
0.0.0-20250806193240-9b0b5d4f345f
go/github.com/openbao/openbao>=0.1.0<2.3.2
2.3.2
OpenBao Openbao<2.3.2

Event History

Aug 8, 2025
Advisory Published
via GitHub·02:32 PM
Data Sourced
via GitHub·02:32 PM
DescriptionSeverityWeaknessAffected Software
Aug 9, 2025
CVE Published
via MITRE·01:32 AM
Data Sourced
via MITRE·01:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-54996?

CVE-2025-54996 has been classified as a critical vulnerability due to its potential for privilege escalation.

2

How do I fix CVE-2025-54996?

To fix CVE-2025-54996, upgrade to version 2.3.2 or ensure your version is not lower than 0.0.0-20250806193240-9b0b5d4f345f.

3

Who is affected by CVE-2025-54996?

CVE-2025-54996 affects accounts with access to the highly-privileged identity entity system in the root namespace.

4

What are the potential exploits of CVE-2025-54996?

An attacker with access can elevate their privileges to the root policy, compromising system security.

5

Is CVE-2025-54996 present in older versions of the software?

Yes, versions prior to 2.3.2 and any version below 0.0.0-20250806193240-9b0b5d4f345f are vulnerable to CVE-2025-54996.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203