All vulnerabilities

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()…

From openbao/openbao's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenBaoServers and applications · github:openbao/openbao
  • Every version before 2.5.5

About OpenBao

foss-licensed cross-platform password manager and authentication tool

From Wikidata, CC0 1.0.
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

Release lines

ReleaseLatestSecurity fixes
2.72.7.2Yes
2.62.6.5Ended 1 Oct 2026
2.52.5.5Ended 14 Jul 2026
2.42.4.4Ended 5 Feb 2026
2.32.3.2Ended 29 Aug 2025
2.22.2.2Ended 26 Jun 2025

From endoflife.date.

References