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

Published Aug 6, 2025
·
Updated

Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if usernameasalias 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 Software

9 affected componentsFixes available
HashiCorp Vault Community Edition<1.20.2
HashiCorp Vault Enterprise>=1.16.24<=1.20.2, >1.19.8
go/github.com/hashicorp/vault<1.20.2
1.20.2
HashiCorp Vault>=1.10.0<=1.15.16
HashiCorp Vault>=1.10.0<1.20.2
HashiCorp Vault>=1.16.0<1.16.24
HashiCorp Vault>=1.17.0<1.18.13
HashiCorp Vault>=1.19.0<1.19.8
HashiCorp Vault>=1.20.0<1.20.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.20.2
  2. Upgrade

    Upgrade Vault Community Edition to a version that resolves this vulnerability.

    Fixed in 1.20.2
  3. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.20.2
  4. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.19.8
  5. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.18.13
  6. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.16.24

Event History

Aug 6, 2025
CVE Published
via MITRE·10:06 AM
Data Sourced
via MITRE·10:06 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
Affected Software
Advisory Published
via GitHub·12:31 PM
Data Sourced
via GitHub·12:31 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6013?

CVE-2025-6013 is considered a medium severity vulnerability due to its potential impact on multi-factor authentication enforcement.

2

How do I fix CVE-2025-6013?

To fix CVE-2025-6013, upgrade to Vault Community Edition 1.20.2 or Vault Enterprise 1.20.2, or 1.19.8.

3

What systems are affected by CVE-2025-6013?

CVE-2025-6013 affects HashiCorp Vault Community Edition versions prior to 1.20.2 and Vault Enterprise versions between 1.16.24 and 1.20.2 or 1.19.8.

4

What specific issue does CVE-2025-6013 address?

CVE-2025-6013 addresses a vulnerability where the ldap auth method may not enforce multi-factor authentication correctly under certain conditions.

5

What actions should users of affected versions take regarding CVE-2025-6013?

Users of affected versions should prioritize upgrading to the fixed versions to ensure proper multi-factor authentication enforcement.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203