CVE-2025-55001
JSON

6.5medium

OpenBao LDAP MFA Enforcement Bypass When Using Username As Alias

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2q8q-8fgw-9p6pBIT-OPENBAO-2025-55001GO-2025-3859

Description

OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, OpenBao allowed the assignment of policies and MFA attribution based upon entity aliases, chosen by the underlying auth method. When the username_as_alias=true parameter in the LDAP auth method was in use, the caller-supplied username was used verbatim without normalization, allowing an attacker to bypass alias-specific MFA requirements. This issue was fixed in version 2.3.2. To work around this, remove all usage of the username_as_alias=true parameter and update any entity aliases accordingly.

Affected

Product or packageVersionsReported by
openbao openbao< 2.3.2, before 2.3.2CVE List, NVD
github.com/openbao/openbao (Go)from 0.1.0 before 2.3.2, before 0.0.0-20250807212521-c52795c1ef74, from 0.1.0GitHub Advisory Database, Go Vulnerability Database
openbao (Bitnami)before 0.0.0-20250807212521-c52795c1ef74, from 0.0.1 before 2.3.2Bitnami Vulnerability Database

All scores

GitHub_M6.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
Bitnami Vulnerability Databasemedium rating

Classification

CWE-156

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

What each source says

CVE List

OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, OpenBao allowed the assignment of policies and MFA attribution based upon entity aliases, chosen by the underlying auth method. When the username_as_alias=true parameter in the LDAP auth method was in use, the caller-supplied username was used verbatim without normalization, allowing an attacker to bypass alias-specific MFA requirements. This issue was fixed in version 2.3.2. To work around this, remove all usage of the username_as_alias=true parameter and update any entity aliases accordingly.

GitHub Advisory Database
Impact

OpenBao allows assignment of policies and MFA attribution based upon entity aliases, chosen by the underlying auth method. When using the username_as_alias=true parameter in the LDAP auth method, the caller-supplied username is used verbatim without normalization, allowing an attacker to bypass alias-specific MFA requirements.

Patches

OpenBao v2.3.2 will patch this issue.

Workarounds

LDAP methods are only vulnerable if using username_as_alias=true. Remove all usage of this parameter and update any entity aliases accordingly.

References

This issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets:

Go Vulnerability Database

OpenBao LDAP MFA Enforcement Bypass When Using Username As Alias in github.com/openbao/openbao.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/openbao/openbao before v2.3.2.

NVD (es)

OpenBao existe para proporcionar una solución de software que permite gestionar, almacenar y distribuir datos confidenciales, como secretos, certificados y claves. En las versiones 2.3.1 y anteriores, OpenBao permitía la asignación de políticas y la atribución de MFA según alias de entidad, seleccionados mediante el método de autenticación subyacente. Cuando se utilizaba el parámetro username_as_alias=true en el método de autenticación LDAP, el nombre de usuario proporcionado por el usuario se utilizaba textualmente sin normalización, lo que permitía a un atacante eludir los requisitos de MFA específicos del alias. Este problema se solucionó en la versión 2.3.2. Para solucionarlo, elimine el uso del parámetro username_as_alias=true y actualice los alias de entidad según corresponda.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-55001 changed 2025-08-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-2q8q-8fgw-9p6p changed 2026-07-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3859 changed 2026-07-27CC-BY-4.0
NVDCVE-2025-55001 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-OPENBAO-2025-55001 changed 2026-09-08Apache-2.0