p PatchFirst

CVE-2025-6013

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

CVSS 6.5 · Medium · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Affected products and versions

  • vault

    Versions
    • ≥ 1.10.0, < 1.20.2: Affected (semver)

    Update to 1.20.2

  • vault enterprise

    Versions
    • ≥ 1.10.0, < 1.20.2: Affected; ≥ 1.19.8: Not affected; ≥ 1.18.13: Not affected; ≥ 1.16.24: Not affected (semver)

    Update to 1.16.24

Original sources

Check your server →