VYPR
Moderate severityNVD Advisory· Published Aug 6, 2025· Updated Feb 26, 2026

Vault LDAP MFA Enforcement Bypass When Using Username As Alias

CVE-2025-6013

Description

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/hashicorp/vaultGo
< 1.20.21.20.2

Affected products

2
  • Range: 1.10.0
  • HashiCorp/Vault Enterprisev5
    Range: 1.10.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.