CVE-2025-6013
JSON

6.5medium

Vault LDAP MFA Enforcement Bypass When Using Username As Alias

Severity
6.5medium CVSS:3.1 by HashiCorp
Exploit likelihood
0.63% (higher than 45% of CVEs)
Published
Last changed
Assigned by
HashiCorp
Also known as
GHSA-7rx2-769v-hrwfBIT-VAULT-2025-6013GO-2025-3848

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.

Affected

Product or packageVersionsReported by
HashiCorp Vaultfrom 1.10.0 before 1.20.2, from 1.10.0 up to 1.15.16, from 1.16.0 before 1.16.24, from 1.17.0 before 1.18.13, from 1.19.0 before 1.19.8, from 1.20.0 before 1.20.2CVE List, NVD
HashiCorp Vault Enterprisefrom 1.10.0 before 1.20.2CVE List
github.com/hashicorp/vault (Go)before 1.20.2GitHub Advisory Database, Go Vulnerability Database
vault (Bitnami)from 1.10.0 before 1.20.2Bitnami Vulnerability Database

All scores

HashiCorp6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-156

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

HashiCorp Vault ldap auth method may not have correctly enforced MFA in github.com/hashicorp/vault

NVD (es)

Es posible que el método de autenticación LDAP de Vault y Vault Enterprise (Vault) no haya aplicado correctamente la MFA si `username_as_alias` se configuró como `true` y un usuario tenía varios CN iguales, pero con espacios al principio o al final. Corregido en Vault Community Edition 1.20.2 y Vault Enterprise 1.20.2, 1.19.8, 1.18.13 y 1.16.24.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-6013 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-7rx2-769v-hrwf changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3848 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-6013 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-VAULT-2025-6013 changed 2026-09-08Apache-2.0