# CVE-2026-55770: OpenBao: LDAPi ldaputil (wrong escape func)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-90
- **Aliases:** BIT-openbao-2026-55770, GHSA-6mwx-4547-5vc9, GO-2026-5182
- **Published:** 2026-06-19T21:42:01.000Z
- **Modified:** 2026-09-29T19:06:32.333Z

## Who should check

- Projects that depend on Go package github.com/openbao/openbao (\>= 0.1.0, \<= 2.5.4)
- Anyone running openbao \< 2.5.5

## 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 and fixed versions

- Go `github.com/openbao/openbao`: affected \>= 0.1.0, \<= 2.5.4; fixed 0.0.0-20260617104213-10b7825c714c (osv)
- openbao: \< 2.5.5 (cvelist)

## Mitigation

- Upgrade github.com/openbao/openbao to 0.0.0-20260617104213-10b7825c714c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55770. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55770.md
Affected: github.com/openbao/openbao >= 0.1.0, <= 2.5.4
Fixed in: 0.0.0-20260617104213-10b7825c714c

Steps:
1. Search this machine and project for github.com/openbao/openbao (Go), openbao: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55770 being exploited?

There is no confirmed exploitation: CVE-2026-55770 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55770?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-55770?

github.com/openbao/openbao \>= 0.1.0, \<= 2.5.4.

### Is there a fix for CVE-2026-55770?

Yes. Fixed in 0.0.0-20260617104213-10b7825c714c. Upgrade github.com/openbao/openbao to 0.0.0-20260617104213-10b7825c714c or later.

### How do I check if I'm affected by CVE-2026-55770?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openbao/openbao/security/advisories/GHSA-6mwx-4547-5vc9>
- patch: <https://github.com/openbao/openbao/pull/3306>
- patch: <https://github.com/openbao/openbao/pull/3313>
- patch: <https://github.com/openbao/openbao/commit/10b7825c714c1ef25b6c3c1c2cd6ecd8747c0659>
- patch: <https://github.com/openbao/openbao/commit/8077f96bdc02137b0a072146b6f9ca11c96c549c>
- other: <https://github.com/openbao/openbao/releases/tag/v2.5.5>
- other: <https://github.com/openbao/openbao/releases/tag/v2.6.0>
- other: <https://github.com/openbao/openbao>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55770>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6mwx-4547-5vc9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5182> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55770> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55770>
