Vulnerability · Published Sep 7, 2026 · Assigned by redhat

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

High 8.4

In plain English

A high-severity OS command injection in Red Hat Directory Server 11 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.5%top 58.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12389-ds-baseno fix listedDEBIAN-CVE-2026-19843
Debian:13389-ds-baseno fix listedDEBIAN-CVE-2026-19843
Ubuntu:22.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-19843
Ubuntu:24.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-19843
Ubuntu:26.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-19843
Ubuntu:26.10389-ds-baseno fix listedUBUNTU-CVE-2026-19843

Affected products (as reported)

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

References