389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor

Summary

CVECVE-2026-19843
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-07 15:17:31 UTC
Updated2026-09-08 08:17:10 UTC
DescriptionA 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.4HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
3.1CNACVSS8.4HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-08-06T00:00:00.000ZReported to Red Hat.
CNA2026-09-07T12:00:00.000ZMade 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report