Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-55770OpenBao: LDAPi ldaputil (wrong escape func)
Medium 6.8
In plain English
A medium-severity security flaw in openbao from openbao. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/openbao/openbao | no fix listed | GHSA-6mwx-4547-5vc9 |
| Go | github.com/openbao/openbao | 0.0.0-20260617104213-10b7825c714c | GHSA-6mwx-4547-5vc9 |
| Go | github.com/openbao/openbao | 0.0.0-20260617104213-10b7825c714c | GO-2026-5182 |
Affected products (as reported)
Weakness: CWE-90 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/openbao/openbao/security/advisories/GHSA-6mwx-4547-5vc9 x_refsource_CONFIRM
- https://github.com/openbao/openbao/pull/3306 x_refsource_MISC
- https://github.com/openbao/openbao/pull/3313 x_refsource_MISC
- https://github.com/openbao/openbao/commit/10b7825c714c1ef25b6c3c1c2cd6ecd8747c0659 x_refsource_MISC
- https://github.com/openbao/openbao/commit/8077f96bdc02137b0a072146b6f9ca11c96c549c x_refsource_MISC
- https://github.com/openbao/openbao/releases/tag/v2.5.5 x_refsource_MISC
- https://github.com/openbao/openbao/releases/tag/v2.6.0 x_refsource_MISC