6.5medium
OpenBao TOTP Secrets Engine Enables Code Reuse
- Severity
- 6.5medium 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-f7c3-mhj2-9pvgBIT-OPENBAO-2025-55000GO-2025-3853
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, OpenBao's TOTP secrets engine could accept valid codes multiple times rather than strictly-once. This was caused by unexpected normalization in the underlying TOTP library. To work around, ensure that all codes are first normalized before submitting to the OpenBao endpoint. TOTP code verification is a privileged action; only trusted systems should be verifying codes.
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-20250806193153-183891f8d535, from 0.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| openbao (Bitnami) | before 0.0.0-20250806193153-183891f8d535, from 0.0.1 before 2.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, 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, OpenBao's TOTP secrets engine could accept valid codes multiple times rather than strictly-once. This was caused by unexpected normalization in the underlying TOTP library. To work around, ensure that all codes are first normalized before submitting to the OpenBao endpoint. TOTP code verification is a privileged action; only trusted systems should be verifying codes.
GitHub Advisory Database
Impact
OpenBao's TOTP secrets engine could accept valid codes multiple times rather than strictly-once. This was caused by unexpected normalization in the underlying TOTP library.
Patches
OpenBao v2.3.2 will patch this issue.
In patching, codes which were not normalized (strictly N numeric digits) will now be rejected. This is a potentially breaking change.
Workarounds
TOTP code verification is a privileged action; only trusted systems should be verifying codes. Ensure that all codes are first normalized before submitting to the OpenBao endpoint.
References
This issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets:
Go Vulnerability Database
OpenBao TOTP Secrets Engine Code Reuse 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, el motor de secretos TOTP de OpenBao podía aceptar códigos válidos varias veces en lugar de solo una. Esto se debía a una normalización inesperada en la librería TOTP subyacente. Para solucionar este problema, asegúrese de que todos los códigos se normalicen antes de enviarlos al endpoint de OpenBao. La verificación de códigos TOTP es una acción privilegiada; solo los sistemas de confianza deben verificar los códigos.
References
| https://github.com/openbao/openbao/security/advisories/GHSA-f7c3-mhj2-9pvg | advisory, vendor-advisory, web | |
| https://github.com/openbao/openbao/commit/183891f8d535d5b6eb3d79fda8200cade6de99e1 | fix, patch, web | |
| https://discuss.hashicorp.com/t/hcsec-2025-17-vault-totp-secrets-engine-code-reuse/76036 | not-applicable, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-55000 | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6014 | advisory, web | |
| https://github.com/openbao/openbao | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-55000 changed 2025-08-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f7c3-mhj2-9pvg changed 2026-07-27 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3853 changed 2026-07-27 | CC-BY-4.0 |
| NVD | CVE-2025-55000 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-OPENBAO-2025-55000 changed 2026-09-08 | Apache-2.0 |