CVE-2025-6013

Vault LDAP MFA Enforcement Bypass When Using Username As Alias

Published Aug 6, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23817 HashiCorp Vault ldap auth method may not have correctly enforced MFA
Github GHSA Github GHSA GHSA-7rx2-769v-hrwf HashiCorp Vault ldap auth method may not have correctly enforced MFA
History
Type Values Removed Values Added
CPEs cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp vault
Hashicorp vault Enterprise
Vendors & Products Hashicorp
Hashicorp vault
Hashicorp vault Enterprise
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Vault LDAP MFA Enforcement Bypass When Using Username As Alias
Weaknesses CWE-156
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Feb 26, 2026, 5:49 PM
Reserved
Jun 11, 2025, 7:00 PM
Status
Analyzed
Published
Aug 6, 2025, 10:15 AM
Modified
Jun 17, 2026, 10:00 AM
Severity
Moderate
Public date
Aug 6, 2025, 10:06 AM