CVE-2025-52894: OpenBao allows cancellation of root rekey and recovery rekey operations without authentication
Impact OpenBao and HashiCorp Vault allowed an attacker to perform unauthenticated, unaudited cancellation of root rekey and recovery rekey operations, effecting a denial of service. Patches In OpenBao v2.2.2 and later, manually setting the configuration option disableunauthedrekeyendpoints=true allows an operator to deny these rarely-used endpoints on global listeners.
Published Jun 26, 2025 · Updated Aug 12, 2025
Affected packages
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- >= 0.1.0, < 2.3.1
- Fixed in
- No patched version yet
- Check
go list -m github.com/openbao/openbao
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- < 0.0.0-20250625150133-fe75468822a2
- Fixed in
- 0.0.0-20250625150133-fe75468822a2
- Check
go list -m github.com/openbao/openbao
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
OpenBao and HashiCorp Vault allowed an attacker to perform unauthenticated, unaudited cancellation of root rekey and recovery rekey operations, effecting a denial of service.
Patches
In OpenBao v2.2.2 and later, manually setting the configuration option disable_unauthed_rekey_endpoints=true allows an operator to deny these rarely-used endpoints on global listeners.
In a future OpenBao release communicated on our website, we will set this to true for all users and provide an authenticated alternative.
This vulnerability has been disclosed to HashiCorp; see their website for more information.
Workarounds
If an active proxy or load balancer sits in front of OpenBao, an operator can deny requests to these endpoints from unauthorized IP ranges.
References
See the deprecation notice.
Credited to cipherboy.
References
- https://github.com/openbao/openbao/security/advisories/GHSA-prpj-rchp-9j5h
- https://nvd.nist.gov/vuln/detail/CVE-2025-52894
- https://github.com/openbao/openbao/commit/fe75468822a22a88318c6079425357a02ae5b77b
- https://github.com/openbao/openbao/releases/tag/v2.3.1
- https://openbao.org/docs/deprecation
- https://openbao.org/docs/deprecation/unauthed-rekey
- https://pkg.go.dev/vuln/GO-2025-3783
- https://github.com/advisories/GHSA-prpj-rchp-9j5h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-63131
OpenBao Skips Stricter Deny Policy for LIST operations
medium6.0No fixSep 22, 2026CVE-2026-63132
OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack
critical9.1No fixSep 22, 2026CVE-2026-71543
OpenBao's Templated Policies Allow Privilege Escalation via Wildcard Characters
high7.5No fixSep 22, 2026CVE-2026-77285
OpenBao Agent Writes Secrets to Stdout
low2.4No fixSep 22, 2026CVE-2026-55770
OpenBao: LDAPi ldaputil (wrong escape func)
medium6.8No fixJun 19, 2026CVE-2026-55774
OpenBao: Cross-namespace lease revocation/renewal via canonical sys/leases/{revoke,renew} — incomplete fix of CVE-2026-45808
low2.1No fixJun 19, 2026
