Servers and applications
CVE-2026-55770
LDAPi ldaputil (wrong escape func)
- Severity
- Medium 6.8
- Published
- 19 Jun 2026
- Last changed
- 19 Jun 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 2.5.5
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- LDAP injection (CWE-90)
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-6mwx-4547-5vc9
- Sources
- Project advisories (GitHub)
Description
sdk/helper/ldaputil/client.go — the shared LDAP utility library used by both the LDAP authentication backend and OpenLDAP secrets engine to construct LDAP search filters and bind DNs.
The LDAP utility contains a function selection error that causes incorrect escaping of user-controlled input in LDAP filter construction. Two lines construct the bindDN using EscapeLDAPValue():
The problem: EscapeLDAPValue() implements RFC 4514 escaping, which is designed for Distinguished Name (DN) components. It only escapes characters meaningful in DNs: +, ,, ;, ", \, <, >, and leading/trailing spaces.
LDAP search filters (RFC 4515) have a different set of special characters: *, (, ), \, and NUL (\x00). None of these are escaped by EscapeLDAPValue(). The correct function is ldap.EscapeFilter() from the github.com/go-ldap/ldap/v3 package.
The irony: the same file uses ldap.EscapeFilter() correctly at lines 225-226 in RenderUserSearchFilter() for the UserFilter template path, but the GetUserDN()…
Affected software
| Software | Affected versions |
|---|---|
OpenBaoServers and applications · github:openbao/openbao |
|
About OpenBao
foss-licensed cross-platform password manager and authentication tool
- Docker Hub pulls
- 6,722,933Docker Hub, 15 Nov 2026
- GitHub stars
- 9,019GitHub, 15 Nov 2026
- Forks
- 691GitHub, 15 Nov 2026
- Latest release
- v2.7.2GitHub, 15 Nov 2026
- Released
- 26 Oct 2026GitHub
- License
- Mozilla Public License, version 2.0Wikidata
- Written in
- GoWikidata
- First published on GitHub
- 9 Nov 2023GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 2.7 | 2.7.2 | Yes |
| 2.6 | 2.6.5 | Ended 1 Oct 2026 |
| 2.5 | 2.5.5 | Ended 14 Jul 2026 |
| 2.4 | 2.4.4 | Ended 5 Feb 2026 |
| 2.3 | 2.3.2 | Ended 29 Aug 2025 |
| 2.2 | 2.2.2 | Ended 26 Jun 2025 |
From endoflife.date.
Vulnerabilities in OpenBao
- In our list
- 72
- Published in the last 12 months
- 55
- Critical, last 12 months
- 4
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-126309OpenBao before 2.6.5 and 2.7.2 Path Traversal in Transit Key ImportHigh 7.6 13 Nov 2026
- CVE-2026-126310OpenBao before 2.6.5 and 2.7.2 OIDC Provider Authentication Bypass via Client CredentialsHigh 7.0 13 Nov 2026
- CVE-2026-126311OpenBao before 2.6.5 and 2.7.2 Wildcard Principals in SSH Certificates via Identity TemplatesMedium 4.6 13 Nov 2026
- CVE-2026-126312OpenBao before 2.6.5 and 2.7.2 ACL Bypass via Non-Canonical Plugin PathsHigh 7.6 13 Nov 2026
- GHSA-736f-82w7-hj22ACL Bypass via Non-Canonical URL Access in OpenBao's AppRole, Cert Auth, LDAP, and RADIUS pluginsHigh 7.6 26 Oct 2026
- GHSA-h76r-48x5-36hgOpenBao SSH secrets engine allows wildcard '*' in host cert principals via identity templatesMedium 4.6 26 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-55770
- GitHub Advisory Database https://github.com/advisories/GHSA-6mwx-4547-5vc9
- github.com https://github.com/openbao/openbao/security/advisories/GHSA-6mwx-4547-5vc9