CVE-2025-55000
JSON

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 packageVersionsReported by
openbao openbao>= 0.1.0, < 2.3.2, before 2.3.2CVE List, NVD
github.com/openbao/openbao (Go)from 0.1.0 before 2.3.2, before 0.0.0-20250806193153-183891f8d535, from 0.1.0GitHub Advisory Database, Go Vulnerability Database
openbao (Bitnami)before 0.0.0-20250806193153-183891f8d535, from 0.0.1 before 2.3.2Bitnami Vulnerability Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-156

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

Sources

SourceRecordLicence
CVE ListCVE-2025-55000 changed 2025-08-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-f7c3-mhj2-9pvg changed 2026-07-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3853 changed 2026-07-27CC-BY-4.0
NVDCVE-2025-55000 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-OPENBAO-2025-55000 changed 2026-09-08Apache-2.0