CVE-2026-19843
389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor
- State
- Published
- Severity
- 8.4 High
- Published
- Sep 7, 2026
- Updated
- Oct 8, 2026
- Reserved
- Aug 14, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.4 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Directory Server 11.5 E4S for RHEL 8Red Hat |
|
Red Hat Directory Server 11.7 E4S for RHEL 8Red Hat |
|
Red Hat Directory Server 11.9 for RHEL 8Red Hat |
|
Red Hat Directory Server 12.2 E4S for RHEL 9Red Hat |
|
Red Hat Directory Server 12.4 E4S for RHEL 9Red Hat |
|
Red Hat Directory Server 12.6 EUS for RHEL 9Red Hat |
|
Red Hat Directory Server 12.8 for RHEL 9Red Hat |
|
Red Hat Directory Server 13.0 EUS for RHEL 10Red Hat |
|
Red Hat Directory Server 13.2 for RHEL 10Red Hat |
|
Red Hat Directory Server 11Red Hat | |
Red Hat Directory Server 12Red Hat | |
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat |
References
- RHSA-2026:64768vendor-advisory
- RHSA-2026:64769vendor-advisory
- RHSA-2026:64779vendor-advisory
- RHSA-2026:64780vendor-advisory
- RHSA-2026:64782vendor-advisory
- RHSA-2026:64792vendor-advisory
- RHSA-2026:64793vendor-advisory
- RHSA-2026:65375vendor-advisory
- RHSA-2026:79217vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-19843vdb-entry
- RHBZ#2515965issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.