CVE-2025-6013

published 6 Aug 2025 · updated 26 Feb 2026

Vault LDAP MFA Enforcement Bypass When Using Username As Alias

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Vault 1.20.2.

Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if username_as_alias was set to true and a user had multiple CNs that are equal but with leading or trailing spaces. Fixed in Vault Community Edition 1.20.2 and Vault Enterprise 1.20.2, 1.19.8, 1.18.13, and 1.16.24.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpVault>=1.10.0 <1.20.21.20.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6013 severity on Zeptric[![CVE-2025-6013](https://zeptric.io/badge/cve/CVE-2025-6013.svg)](https://zeptric.io/cve/CVE-2025-6013)