CVE-2025-6013

Source
https://cve.org/CVERecord?id=CVE-2025-6013
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6013.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6013
Aliases
Downstream
Related
Published
2025-08-06T10:06:55Z
Modified
2026-08-12T03:51:09Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Vault LDAP MFA Enforcement Bypass When Using Username As Alias
Details

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.

Database specific
{
    "cna_assigner": "HashiCorp",
    "cwe_ids": [
        "CWE-156"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6013.json"
}
References

Affected packages

Git / github.com/hashicorp/vault

Affected ranges

Type
GIT
Repo
https://github.com/hashicorp/vault
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
        "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "1.10.0"
        },
        {
            "fixed": "1.20.2"
        },
        {
            "introduced": "1.20.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v1.*
v1.20.0
v1.20.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6013.json"