Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-55770 BIT-openbao-2026-55770EUVD-2026-78683GHSA-6mwx-4547-5vc9GO-2026-5182

OpenBao: LDAPi ldaputil (wrong escape func)

Published Sep 15, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

Description

OpenBao is an open source identity-based secrets management system. Prior to 2.5.5, OpenBao used EscapeLDAPValue, an RFC 4514 distinguished-name escaping function, where RFC 4515 LDAP search-filter escaping was required in sdk/helper/ldaputil/client.go GetUserDN. With the LDAP authentication backend configured for an Active Directory UPNDomain path or UserDN and UserAttr binding, an attacker-controlled username containing filter metacharacters could alter the search predicate and select a different directory entry because EscapeLDAPValue does not neutralize the characters handled by ldap.EscapeFilter. A resulting token could be associated with another LDAP identity and gain access to secrets, policies, or modification capabilities assigned to that identity. This issue is fixed in version 2.5.5.

Affected products

VendorProductAffectedFixed
openbao openbao < 2.5.5 —

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
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openbao/openbao >= 0.1.0, <= 2.5.4 — GHSA-6mwx-4547-5vc9
Go github.com/openbao/openbao < 0.0.0-20260617104213-10b7825c714c 0.0.0-20260617104213-10b7825c714c GHSA-6mwx-4547-5vc9
Go github.com/openbao/openbao < 0.0.0-20260617104213-10b7825c714c · >= 0.1.0 0.0.0-20260617104213-10b7825c714c GO-2026-5182

Advisories 2

References