OpenBao Login MFA Bypass of Rate Limiting and TOTP Token Reuse
Published 8 Aug 2025 · Updated 27 Jul 2026
Is your project on an affected github.com/openbao/openbao?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=0.1.0 <2.3.2
- Fixed in
- 2.3.2
go get github.com/openbao/openbao@v2.3.2- Affected
- <0.0.0-20250807113757-8340a6918f6c
- Fixed in
- 0.0.0-20250807113757-8340a6918f6c
go get github.com/openbao/openbao@v0.0.0-20250807113757-8340a6918f6cDetails
Impact
OpenBao's Login Multi-Factor Authentication (MFA) system allows enforcing MFA using Time-based One Time Password (TOTP). Due to normalization applied by the underlying TOTP library, codes were accepted which could contain whitespace; this whitespace could bypass internal rate limiting of the MFA method and allow reuse of existing MFA codes.
Patches
OpenBao v2.3.2 will patch this issue.
Workarounds
Use of rate-limiting quotas can limit an attacker's ability to exploit this: 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-19-vault-login-mfa-bypass-of-rate-limiting-and-totp-token-reuse/76038
- https://nvd.nist.gov/vuln/detail/CVE-2025-6015
Is GHSA-rxp7-9q75-vj3p in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/openbao/openbao, and gives you the command that fixes it.
More advisories for github.com/openbao/openbao
- LowCVE-2026-63132OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack in github.com/openbao/openbao · 1 Oct 2026
- LowCVE-2026-77285OpenBao Agent Writes Secrets to Stdout in github.com/openbao/openbao · 1 Oct 2026
- LowCVE-2026-71543OpenBao's Templated Policies Allow Privilege Escalation via Wildcard Characters in github.com/openbao/openbao · 1 Oct 2026
- LowCVE-2026-63131OpenBao Skips Stricter Deny Policy for LIST operations in github.com/openbao/openbao · 1 Oct 2026
- MediumCVE-2026-63131OpenBao Skips Stricter Deny Policy for LIST operations · 22 Sept 2026
- CriticalCVE-2026-63132OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack · 22 Sept 2026
References
- Linkgithub.com/openbao/openbao/security/advisories/GHSA-rxp7-9q75-vj3p
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-55003
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-6015
- Linkgithub.com/openbao/openbao/commit/8340a6918f6c41d8f75b6c3845c376d9dc32ed19
- Linkdiscuss.hashicorp.com/t/hcsec-2025-19-vault-login-mfa-bypass-of-rate-limiting-and-totp-token-reuse/76038
- Packagegithub.com/openbao/openbao
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.