Timing Attack Affecting github.com/hashicorp/vault/builtin/logical/pki package, versions <2.0.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTBUILTINLOGICALPKI-20079223
  • published24 Sept 2026
  • disclosed22 Sept 2026
  • creditUnknown

Introduced: 22 Sep 2026

NewCVE-2026-63132  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/builtin/logical/pki to version 2.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack via the recovery token comparison in handleLogicalRecovery in http/logical.go. An attacker can extract the single recovery token and use it to perform privileged recovery-mode API operations by repeatedly sending candidate tokens and measuring response timing. In recovery mode, that token gates access to underlying storage operations, so leaking it lets the attacker read or modify data on the OpenBao instance.

CVSS Base Scores

version 4.0
version 3.1