CVE-2025-6013

CVE-2025-6013 is a medium-severity vulnerability in Hashicorp Vault with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-156.

Key facts

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.

Frequently asked questions

What is CVE-2025-6013?
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.
How severe is CVE-2025-6013?
CVE-2025-6013 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
Is CVE-2025-6013 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-6013?
CVE-2025-6013 primarily affects Hashicorp Vault. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2025-6013?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-6013 have an EU (EUVD) identifier?
Yes. CVE-2025-6013 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-23817.
When was CVE-2025-6013 published?
CVE-2025-6013 was published on 2025-08-06 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Hashicorp Vault

All CVEs affecting Hashicorp Vault →

Other CWE-156 vulnerabilities

Browse all CWE-156 vulnerabilities →