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.
Published: 2026-09-07
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in 389-ds-base’s Cockpit console constructs an ldapsearch command by directly inserting an LDAP entry’s DN into a shell string without escaping. An LDAP user with the right delegated rights to create or rename entries can forge a DN containing shell metacharacters. When a Cockpit administrator later browses that entry, the command string is executed with root privileges on the directory server host, allowing the attacker to run arbitrary code as root. This effectively hijacks the server’s operating system, compromising confidentiality, integrity, and availability.

Affected Systems

Systems affected are Red Hat Directory Server versions 11, 12, and 13 that have the Cockpit 389 Console installed. Red Hat Enterprise Linux hosts (versions 6, 7, 8, 9, 10) that include the Cockpit console on a 389-ds-base deployment are also impacted. Plain RHEL installations of 389-ds-base without Cockpit console are not affected.

Risk and Exploitability

The CVSS score of 8.4 indicates a high‑severity vulnerability. An attacker must possess LDAP delegated privileges to create or rename entries and a Cockpit administrator must view the entry; both conditions are typically restricted to internal users and administrators, so the exploitation vector is an authenticated, privileged user within the organization. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, suggesting no known public exploitation at the time of this analysis. Nonetheless, the severity and potential for execution of arbitrary code under root privileges make it a critical risk for any environment running the affected Cockpit console.

Generated by OpenCVE AI on September 7, 2026 at 15:21 UTC.

Remediation

Vendor 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.


OpenCVE Recommended Actions

  • Apply the latest Red Hat security update that addresses the command‑injection issue in the Cockpit 389 Console for 389‑ds‑base.
  • Restrict access to the Cockpit 389 Console to trusted administrators and limit console usage to systems that require it.
  • Restrict delegated LDAP add or rename privileges to trusted accounts only until a patch is available.

Generated by OpenCVE AI on September 7, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 08 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 07 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title 389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-78
CPEs cpe:/a:redhat:directory_server:11
cpe:/a:redhat:directory_server:12
cpe:/a:redhat:directory_server:13
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat directory Server
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H'}


Subscriptions

Redhat Directory Server Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-08T01:54:26.003Z

Reserved: 2026-08-14T08:02:44.101Z

Link: CVE-2026-19843

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-07T15:17:31.287

Modified: 2026-09-07T15:17:31.287

Link: CVE-2026-19843

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-07T12:00:00Z

Links: CVE-2026-19843 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T15:30:06Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')