← All Advisories

389 Directory Server Cockpit Component Passes Unsanitized LDAP DN to ldapsearch Shell, Allowing Privileged Users to Execute Commands as Root

Last refreshed2026-10-10

Status: UPDATED  |  Advisory ID: CVE-2026-19843

Key Details

CVECVE-2026-19843
CVSS Score / Version8.4 (High) / CVSS v3.1
Updated2026-10-08
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS Proseattack vector is network; attack complexity is low; privileges required is high; user interaction is required; scope is changed; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected productssee table below
Classified asCWE-78 (Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'))

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Directory Server 11
Red HatRed Hat Directory Server 12
Red HatRed Hat Directory Server 11.5 E4S for RHEL 8
Red HatRed Hat Directory Server 11.7 E4S for RHEL 8
Red HatRed Hat Directory Server 11.9 for RHEL 8
Red HatRed Hat Directory Server 12.2 E4S for RHEL 9
Red HatRed Hat Directory Server 12.4 E4S for RHEL 9
Red HatRed Hat Directory Server 12.6 EUS for RHEL 9
Red HatRed Hat Directory Server 12.8 for RHEL 9
Red HatRed Hat Directory Server 13.0 EUS for RHEL 10
Red HatRed Hat Directory Server 13.2 for RHEL 10
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-19843
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-19843