CVE-2025-6014: CWE-156: Improper Neutralization of Whitespace in HashiCorp Vault
CVE-2025-6014 is a medium severity vulnerability in HashiCorp Vault's TOTP Secrets Engine code validation endpoint. It involves improper neutralization of whitespace, allowing code reuse within the validity period. The issue affects Vault and Vault Enterprise versions prior to the fixed releases. Official patches are available in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2025-6014 (CWE-156) affects HashiCorp Vault's TOTP Secrets Engine code validation endpoint. The flaw allows code reuse within the validity period due to improper neutralization of whitespace. This can lead to unauthorized use of TOTP codes during their validity window. The vulnerability has a CVSS 3.1 base score of 6.5, indicating a medium severity with network attack vector, low attack complexity, requiring low privileges, no user interaction, unchanged scope, high confidentiality impact, no integrity or availability impact. Official fixes have been released for Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
Potential Impact
An attacker with low privileges can reuse TOTP codes within their validity period due to improper whitespace handling, potentially compromising confidentiality. There is no impact on integrity or availability. The vulnerability does not require user interaction and can be exploited remotely over the network.
Mitigation Recommendations
Official patches are available and should be applied to affected Vault versions. Upgrade to Vault Community Edition 1.20.1 or Vault Enterprise 1.20.1, 1.19.7, 1.18.12, or 1.16.23 to remediate this vulnerability.
CVE-2025-6014: CWE-156: Improper Neutralization of Whitespace in HashiCorp Vault
Description
CVE-2025-6014 is a medium severity vulnerability in HashiCorp Vault's TOTP Secrets Engine code validation endpoint. It involves improper neutralization of whitespace, allowing code reuse within the validity period. The issue affects Vault and Vault Enterprise versions prior to the fixed releases. Official patches are available in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
CVSS v3.1
Score 6.5medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2025-6014 (CWE-156) affects HashiCorp Vault's TOTP Secrets Engine code validation endpoint. The flaw allows code reuse within the validity period due to improper neutralization of whitespace. This can lead to unauthorized use of TOTP codes during their validity window. The vulnerability has a CVSS 3.1 base score of 6.5, indicating a medium severity with network attack vector, low attack complexity, requiring low privileges, no user interaction, unchanged scope, high confidentiality impact, no integrity or availability impact. Official fixes have been released for Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
Potential Impact
An attacker with low privileges can reuse TOTP codes within their validity period due to improper whitespace handling, potentially compromising confidentiality. There is no impact on integrity or availability. The vulnerability does not require user interaction and can be exploited remotely over the network.
Mitigation Recommendations
Official patches are available and should be applied to affected Vault versions. Upgrade to Vault Community Edition 1.20.1 or Vault Enterprise 1.20.1, 1.19.7, 1.18.12, or 1.16.23 to remediate this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- HashiCorp
- Date Reserved
- 2025-06-11T19:02:59.572Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 688d0144ad5a09ad00cb0c2a
Added to database: 08/01/2025, 18:02:44 UTC
Last enriched: 09/08/2026, 13:07:52 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 207
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.