Red Hat Directory Server 11.5 E4S for RHEL 8
389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor
A flaw was found in 389-ds-base. The Cockpit 389 Console's LDAP editor constructs an ldapsearch command by embedding an LDAP entry's distinguished name (DN) into a shell command string without proper escaping. An LDAP user with delegated privileges to create or rename directory entries could craft a malicious DN containing shell metacharacters. When a Cockpit administrator subsequently views the entry in the 389 Console, the embedded shell command executes with root privileges on the directory server host.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 8060020260908152739.0ca98e7e
Fixed in 8080020260903102346.f969626e
Fixed in 8100020260904171440.37ed7c03
Fixed in 9020020260903155914.1674d574
Fixed in 9040020260903102623.1674d574
Fixed in 9060020260903100230.1674d574
Fixed in 9080020260908092641.1674d574
Fixed in 0:3.0.6-4.el10dsrv
Fixed in 0:3.2.0-7.el10dsrv
Mitigation
Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260908152739.0ca98e7e or later.
Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260903102346.f969626e or later.
Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260904171440.37ed7c03 or later.
Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260903155914.1674d574 or later.
Upgrade Red Hat Directory Server 12.4 E4S for RHEL 9 to 9040020260903102623.1674d574 or later.
Upgrade Red Hat Directory Server 12.6 EUS for RHEL 9 to 9060020260903100230.1674d574 or later.
Upgrade Red Hat Directory Server 12.8 for RHEL 9 to 9080020260908092641.1674d574 or later.
Upgrade Red Hat Directory Server 13.0 EUS for RHEL 10 to 0:3.0.6-4.el10dsrv or later.
Upgrade Red Hat Directory Server 13.2 for RHEL 10 to 0:3.2.0-7.el10dsrv or later.
Workaround
Restrict Cockpit 389 Console access to trusted administrators, and restrict delegated LDAP add/rename privileges to trusted accounts, until a fix is available. This issue only affects Red Hat Directory Server deployments that include the Cockpit console; plain RHEL 389-ds-base is not affected.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:64768
- Vendor advisory access.redhat.com/errata/RHSA-2026:64769
- Vendor advisory access.redhat.com/errata/RHSA-2026:64779
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:64780
- Vendor advisory access.redhat.com/errata/RHSA-2026:64782
- Vendor advisory access.redhat.com/errata/RHSA-2026:64792
- Vendor advisory access.redhat.com/errata/RHSA-2026:64793
- Vendor advisory access.redhat.com/errata/RHSA-2026:65375
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| gduma-phData/patch-CVE-2026-19843 | 24 Aug 2026 −14 d | 0 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.