CVE-2025-6014 Details
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.
A code reuse vulnerability has been identified in the TOTP Secrets Engine of HashiCorp Vault and Vault Enterprise. This issue allows for the reuse of TOTP codes within their validity period by appending whitespace, exploiting a lack of normalization in the code validation process. The vulnerability affects Vault Community Edition versions prior to 1.20.1 and Vault Enterprise versions prior to 1.20.1, 1.19.6, 1.18.11, 1.16.22, and 1.15.15.
Users are advised to upgrade to Vault Community Edition 1.20.1 or Vault Enterprise 1.20.1, 1.19.7, 1.18.12, or 1.16.23. General upgrade guidance is available in the 'Upgrading Vault' documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-17-vault-totp-secrets-engine-code-reuse/76036 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-156 | Improper Neutralization of Whitespace | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hashicorp vault | < 1.16.23 < 1.20.1 >= 1.17.0, < 1.18.12 >= 1.19.0, < 1.19.7 1.20.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| Aug 1, 2025 | New CVE Received | [email protected] |