6.5Medium

CVE-2025-6013Vault LDAP MFA Enforcement Bypass When Using Username As Alias

HashiCorp Vault; HashiCorp Vault Enterprise Published: (1 year ago)

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.

Weakness (CWE): CWE-156

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
HashiCorp Vault 1.10.0 – < 1.20.2
HashiCorp Vault Enterprise 1.10.0 – < 1.20.2

References and patches

CPE matches (NVD) (6)

  • cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* ≥ 1.10.0 ≤ 1.15.16
  • cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* ≥ 1.10.0 < 1.20.2
  • cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* ≥ 1.16.0 < 1.16.24
  • cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* ≥ 1.17.0 < 1.18.13
  • cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* ≥ 1.19.0 < 1.19.8
  • cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* ≥ 1.20.0 < 1.20.2