CVE-2025-6013 MEDIUM

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

Vendor Hashicorp
Product Vault
Weakness CWE-156
Published August 6, 2025
Last update February 26, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 6, 2025 CVE published
February 26, 2026 Record updated