SecurityContext

CVE-2025-6014: HashiCorp Vault - Authentication Bypass

  • Cve: CVE-2025-6014
  • Name: HashiCorp Vault - Authentication Bypass
  • 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.
  • Impact: Attackers can reuse valid TOTP codes within their validity period, potentially bypassing two-factor authentication.
  • Remediation: Update to Vault Community Edition 1.20.1 or Vault Enterprise 1.20.1, 1.19.7, 1.18.12, 1.16.23 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: logged_in
  • Requirements: Attacker needs valid TOTP codes
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00468
  • Epss percentile: 0.41294
  • Assignee: [email protected]
  • Published at: 2025-08-01T18:15:56Z
  • Age in days: 480
  • Modified at: 2026-06-17T10:00:59Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-6014
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-156Improper Neutralization of Whitespace

References

UrlSourceTags
https://discuss.hashicorp.com/t/hcsec-2025-17-vault-totp-secrets-engine-code-reuse/76036nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
hashicorp:vault< 1.20.1; = 1.20.0; >= 1.19.0, < 1.19.7; >= 1.17.0, < 1.18.12; < 1.16.23nonvd/v1/products/hashicorp/vault

Projects

RepositoryLink kindsIndexedUrl
hashicorp/vaultpackageyes/v1/repositories/hashicorp/vault

Index

  • Repositories: 7
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 62
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports