CVE-2025-6015
HashiCorp Vault vulnerability analysis and mitigation

Overview

A vulnerability was discovered in HashiCorp Vault and Vault Enterprise's login MFA system where rate limits could be bypassed and TOTP (Time-based One-Time Password) tokens could be reused. The vulnerability, identified as CVE-2025-6015, affects Vault Community Edition versions from 1.10.0 up to 1.20.0 and Vault Enterprise versions from 1.10.0 up to 1.20.0, 1.19.6, 1.18.11, 1.16.22, and 1.15.15 (HashiCorp Discussion).

Technical details

The vulnerability stems from Vault's login MFA system not correctly normalizing TOTP codes before enforcing the once-per-validity-window check. This implementation flaw could allow attackers to resubmit previously used codes during the MFA check. The issue has been assigned a CVSS v3.1 base score of 5.7 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N. The vulnerability is classified as CWE-307 (Improper Restriction of Excessive Authentication Attempts) (Red Hat Security).

Impact

The vulnerability allows remote attackers to bypass authentication security measures by reusing TOTP tokens during the authentication process. Successful exploitation could lead to unauthorized access to protected resources through the repeated use of TOTP tokens that should have been valid only once (Red Hat Security).

Mitigation and workarounds

The vulnerability has been fixed in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23. The fix includes strict validation of TOTP code length and implementation of generic error messages for previously used passcodes. Organizations are strongly advised to upgrade to these patched versions (HashiCorp Discussion).

Community reactions

The vulnerability was responsibly disclosed by Yarden Porat of Cyata Security to HashiCorp, demonstrating effective coordination in vulnerability disclosure processes (HashiCorp Discussion).

Additional resources


SourceThis report was generated using AI

Related HashiCorp Vault vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-63811HIGH7.5
  • HashiCorp VaultHashiCorp Vault
  • telegraf-1.34
NoYesNov 12, 2025
CVE-2025-61725HIGH7.5
  • cAdvisorcAdvisor
  • thanos-operator-fips
NoYesOct 29, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • eksctl
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • argocd-fips-3.2
NoYesNov 19, 2025
CVE-2025-61724MEDIUM5.3
  • cAdvisorcAdvisor
  • dockerize
NoYesOct 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management