CVE-2025-54998: OpenBao Userpass and LDAP User Lockout Bypass

Published Aug 8, 2025
·
Updated

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:

- https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 - https://nvd.nist.gov/vuln/detail/CVE-2025-6004

Other sources

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/.

MITRE

Affected Software

4 affected componentsFixes available
go/github.com/openbao/openbao<0.0.0-20250807212521-c52795c1ef74
0.0.0-20250807212521-c52795c1ef74
go/github.com/openbao/openbao>=0.1.0<2.3.2
2.3.2
OpenBao OpenBao>=0.1.0<2.3.2
OpenBao OpenBao<2.3.2

Event History

Aug 8, 2025
Advisory Published
via GitHub·02:38 PM
Data Sourced
via GitHub·02:38 PM
DescriptionSeverityWeaknessAffected Software
Aug 9, 2025
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected 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-54998?

The severity of CVE-2025-54998 is considered critical due to the potential for attackers to bypass user lockout mechanisms.

2

How do I fix CVE-2025-54998?

To fix CVE-2025-54998, upgrade to OpenBao version 2.3.2 or later.

3

What software is affected by CVE-2025-54998?

CVE-2025-54998 affects OpenBao versions from 0.1.0 up to but not including 2.3.2.

4

What are the implications of CVE-2025-54998?

The implications of CVE-2025-54998 include the risk of unauthorized access due to ineffective user lockout mechanisms.

5

Is there a workaround for CVE-2025-54998?

No official workarounds have been provided for CVE-2025-54998; upgrading to the latest version is recommended.

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