Skip to main content
EPSS 0.4%top 70%

CVE-2025-6014: CWE-156: Improper Neutralization of Whitespace in HashiCorp Vault

0
Medium
Published: 08/05/2025 (08/05/2025, 08:53:01 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Affected versions
=0<1.20.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:07:52 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses