CVE-2025-54998
MEDIUM 5.3CVSS 3.1OpenBao Userpass and LDAP User Lockout Bypass
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 0.1.0 through 2.3.1, attackers could bypass the automatic user lockout mechanisms in the OpenBao Userpass or LDAP auth systems. This was caused by different aliasing between pre-flight and full login request user entity alias attributions. This is fixed in version 2.3.2. To work around this issue, existing users may apply rate-limiting quotas on the authentication endpoints:, see https://openbao.org/api-docs/system/rate-limit-quotas/.
- Published
- 9 Aug 2025
- Last modified
- 27 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-307
- Also known as
- BIT-openbao-2025-54998GHSA-j3xv-7fxp-gfhxGO-2025-3855
- Sources
- NVDJSONOSV GHSA-j3xv-7fxp-gfhxJSONOSV GO-2025-3855JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openbao | openbaocpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* |
< 2.3.2 | 2.3.2 |
| OSV | Go | github.com/openbao/openbao | >= 0.1.0, < 2.3.2 | 2.3.2 |
| OSV | Go | github.com/openbao/openbao | < 0.0.0-20250807212521-c52795c1ef74 | 0.0.0-20250807212521-c52795c1ef74 |
| OSV | Go | github.com/openbao/openbao | < 0.0.0-20250807212521-c52795c1ef74; >= 0.1.0 | 0.0.0-20250807212521-c52795c1ef74 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 · Not Applicable, WEB
- https://github.com/openbao/openbao/commit/c52795c1ef746c7f2c510f9225aa8ccbbd44f9fc · Patch, WEB, FIX
- https://github.com/openbao/openbao/security/advisories/GHSA-j3xv-7fxp-gfhx · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-54998 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-6004 · ADVISORY, WEB
- https://github.com/openbao/openbao · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Aug 2025)