LDAP Authentication Flaw in HashiCorp Vault and Vault Enterprise

MonitorData theft and tampering over the network by a logged-in user.
6.5MEDIUM

CVE-2025-6013

Key Information:

Vendor

Hashicorp

CVE ID
CVE ID:
CVE-2025-6013
Vendor
CVE Published:
6 August 2025
Fixed in
Fixed in:
1.20.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Vault 64 bit 1.10.0 to below 1.20.2 is vulnerable
Vault Enterprise 64 bit 1.10.0 to below 1.20.2 is vulnerable
Install Vault 64 bit 1.20.2 or later
Install Vault Enterprise 64 bit 1.20.2 or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Vault 64 bit. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2025-6013?

The LDAP authentication method in Vault and Vault Enterprise may allow for an MFA enforcement bypass when the 'username_as_alias' feature is enabled. This issue arises particularly when user accounts contain multiple common names (CNs) that only differ by leading or trailing whitespace. As a result, users may not be prompted for multi-factor authentication as expected, potentially exposing sensitive resources. The issue has been addressed in recent updates to the respective versions of Vault.

References

Cross-Tenant Credential Reuse in HashiCorp Terraform MCP Server

CVE-2026-16498
HashicorpTooling10CRITICAL

Denial of Service Vulnerability in HashiCorp Vault and Vault Enterprise

CVE-2025-12044
HashicorpVault👾7.5HIGH

Excessive Resource Consumption Vulnerability in HashiCorp Vault

CVE-2025-6203
HashicorpVault7.5HIGH
View more Hashicorp vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
.