Advisory

GHSA-rxp7-9q75-vj3p

Also known as: BIT-openbao-2025-55003, CVE-2025-55003, GO-2025-3856

Summary

OpenBao Login MFA Bypass of Rate Limiting and TOTP Token Reuse

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-08 14:44 UTC
Modified
2026-07-27 09:11 UTC

Affected packages and fixes

github.com/openbao/openbao

Go · All systems

Affected

  • introduced 0.1.0, fixed 2.3.2 (semver)

Fixed versions

2.3.2

Fix

github.com/openbao/openbao

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20250807113757-8340a6918f6c (semver)

Fixed versions

0.0.0-20250807113757-8340a6918f6c

Fix

  • Fixed version 0.0.0-20250807113757-8340a6918f6c
    go get github.com/openbao/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences