Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-6013 BIT-vault-2025-6013EUVD-2025-23817GHSA-7rx2-769v-hrwfGO-2025-3848

Vault LDAP MFA Enforcement Bypass When Using Username As Alias

Published Aug 6, 2025 · Updated Feb 26, 2026 · Assigned by HashiCorp

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 products

VendorProductAffectedFixed
HashiCorp Vault 1.10.0 – < 1.20.2 1.20.2
HashiCorp Vault Enterprise 1.10.0 – < 1.20.2 1.20.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250811T192933-1.1 openSUSE-SU-2025:15434-1
openSUSE Tumbleweed openbao 2.3.2-1.1 openSUSE-SU-2025:15460-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling splunk-otel-collector 0.138.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/vault < 1.20.2 1.20.2 GHSA-7rx2-769v-hrwf

Advisories 4

References