Vulnerability · Published Aug 9, 2025 · Assigned by GitHub_M
CVE-2025-54998OpenBao Userpass and LDAP User Lockout Bypass
Medium 5.3
In plain English
A medium-severity security flaw in openbao from openbao. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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/.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54998 |
| Alpine:v3.23 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54998 |
| Alpine:v3.24 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54998 |
| Go | github.com/openbao/openbao | 2.3.2 | GHSA-j3xv-7fxp-gfhx |
| Go | github.com/openbao/openbao | 0.0.0-20250807212521-c52795c1ef74 | GHSA-j3xv-7fxp-gfhx |
| Go | github.com/openbao/openbao | 0.0.0-20250807212521-c52795c1ef74 | GO-2025-3855 |
Affected products (as reported)
Weakness: CWE-307 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/openbao/openbao/security/advisories/GHSA-j3xv-7fxp-gfhx x_refsource_CONFIRM
- https://github.com/openbao/openbao/commit/c52795c1ef746c7f2c510f9225aa8ccbbd44f9fc x_refsource_MISC
- https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 x_refsource_MISC