389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor
Summary
| CVE | CVE-2026-19843 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-07 15:17:31 UTC |
| Updated | 2026-09-08 08:17:10 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.4 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Problem Types: CWE-78 | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Directory Server 11.7 E4S For RHEL 8 | unaffected 8080020260903102346.f969626e * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 11.9 For RHEL 8 | unaffected 8100020260904171440.37ed7c03 * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 12.2 E4S For RHEL 9 | unaffected 9020020260903155914.1674d574 * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 12.4 E4S For RHEL 9 | unaffected 9040020260903102623.1674d574 * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 12.6 EUS For RHEL 9 | unaffected 9060020260903100230.1674d574 * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 13.0 EUS For RHEL 10 | unaffected 0:3.0.6-4.el10dsrv * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 13.2 For RHEL 10 | unaffected 0:3.2.0-7.el10dsrv * rpm | Not specified |
| CNA | Red Hat | Red Hat Directory Server 11 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Directory Server 12 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Directory Server 12 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/security/cve/CVE-2026-19843 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64779 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64780 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64782 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64793 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64792 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64768 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:64769 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Andrew Rukin (Arenadata) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-08-06T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2026-09-07T12:00:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.