5.3medium
OpenBao Userpass and LDAP User Lockout Bypass
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j3xv-7fxp-gfhxBIT-OPENBAO-2025-54998GO-2025-3855
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
| Product or package | Versions | Reported by |
|---|---|---|
| openbao openbao | >= 0.1.0, < 2.3.2, before 2.3.2 | CVE List, NVD |
| github.com/openbao/openbao (Go) | from 0.1.0 before 2.3.2, before 0.0.0-20250807212521-c52795c1ef74, from 0.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| openbao (Bitnami) | before 0.0.0-20250807212521-c52795c1ef74, from 0.0.1 before 2.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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/.
GitHub Advisory Database
Impact
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.
Patches
OpenBao v2.3.2 will patch this issue.
Workarounds
Existing users may apply rate-limiting quotas on the authentication endpoints: https://openbao.org/api-docs/system/rate-limit-quotas/
References
This issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets:
Go Vulnerability Database
OpenBao Userpass and LDAP User Lockout Bypass in github.com/openbao/openbao.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/openbao/openbao before v2.3.2.
NVD (es)
OpenBao existe para proporcionar una solución de software que permite gestionar, almacenar y distribuir datos confidenciales, como secretos, certificados y claves. En las versiones 0.1.0 a 2.3.1, los atacantes podían eludir los mecanismos de bloqueo automático de usuarios en los sistemas de autenticación OpenBao Userpass o LDAP. Esto se debía a una asignación de alias diferente entre las atribuciones de alias de entidad de usuario de las solicitudes de inicio de sesión previas al vuelo y de inicio de sesión completo. Esto se solucionó en la versión 2.3.2. Para solucionar este problema, los usuarios pueden aplicar cuotas de limitación de velocidad en los endpoints de autenticación (consulte https://openbao.org/api-docs/system/rate-limit-quotas/).
References
| https://github.com/openbao/openbao/security/advisories/GHSA-j3xv-7fxp-gfhx | advisory, vendor-advisory, web | |
| https://github.com/openbao/openbao/commit/c52795c1ef746c7f2c510f9225aa8ccbbd44f9fc | fix, patch, web | |
| https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 | not-applicable, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-54998 | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6004 | advisory, web | |
| https://github.com/openbao/openbao | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-54998 changed 2025-08-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j3xv-7fxp-gfhx changed 2026-07-27 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3855 changed 2026-07-27 | CC-BY-4.0 |
| NVD | CVE-2025-54998 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-OPENBAO-2025-54998 changed 2026-09-08 | Apache-2.0 |