Summary
CVE-2026-63132 is a critical observable-timing-discrepancy vulnerability in OpenBao’s recovery mode authentication. Prior to version 2.6.0, OpenBao compared the highly privileged recovery token using ordinary string equality, allowing a remote, unauthenticated attacker to infer the token by measuring response timing across repeated requests. The issue carries a CVSS score of 9.2 (Critical) with a network attack vector.
Technical details
- Root cause: the
handleLogicalRecoveryrequest path compared the recovery token against the expected value using standard (non-constant-time) string equality. - This comparison pattern short-circuits on the first mismatched byte, causing measurable differences in response time depending on how many leading characters of a guessed token are correct.
- Trigger conditions: the target OpenBao instance must be running in recovery mode, which uses a single, highly privileged recovery token for authentication.
- Attack vector: network-based; an attacker sends repeated recovery mode requests with different candidate token values and statistically analyzes response timing to reconstruct the token byte-by-byte.
- No authentication or user interaction is required to attempt the attack.
- Impact: successful token recovery grants the attacker the ability to perform recovery mode operations, including reading and modifying OpenBao data.
Affected software
- OpenBao versions prior to 2.6.0 (all releases before this version are affected)
Severity
- CVSS Score: 9.2 (Critical)
- CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade OpenBao to version 2.6.0 or later, which replaces the vulnerable comparison with a constant-time check.
- If immediate patching is not possible: restrict network access to recovery mode endpoints to trusted administrative networks only, minimize the time OpenBao instances are left running in recovery mode, and rotate/regenerate recovery tokens after any suspected exposure.
- Monitor for unusual volumes of repeated requests to recovery mode endpoints, which may indicate an in-progress timing attack.

