Vulnerability · Published Aug 1, 2025 · Assigned by HashiCorp

CVE-2025-6014Vault TOTP Secrets Engine Code Reuse

Medium 6.5

In plain English

A medium-severity security flaw in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 60.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vault and Vault Enterprise’s (“Vault”) TOTP Secrets Engine code validation endpoint is susceptible to code reuse within its validity period. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.20.1GHSA-qv3p-fmv3-9hww
Gogithub.com/hashicorp/vault1.20.1GO-2025-3841

Affected products (as reported)

VendorProductVersions
HashiCorp Vault 0 – before 1.20.1
HashiCorp Vault Enterprise 0 – before 1.20.1

Weakness: CWE-156 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References