CVEfocus › CVE database › CVE-2026-19843

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

CVSS 8.4 HighEPSS 0.7% (higher than 50% of CVEs)Published 2026-09-07Updated 2026-11-23Assigner: redhat

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.

CWE-78

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fix pending
3Under investigation
3Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2026-19843
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2026-19843
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2026-19843
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2026-19843
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2026-19843
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2026-19843
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2026-19843
Debian 13389-ds-baseFix pendingDEBIAN-CVE-2026-19843
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2026-19843
Red Hat Enterprise Linux 10389-ds-baseFix pending
Affected
Red Hat Enterprise Linux 10389-ds-base-bdbFix pending
Affected
Red Hat Enterprise Linux 10389-ds-base-develFix pending
Affected
Red Hat Enterprise Linux 10389-ds-base-libsFix pending
Affected
Red Hat Enterprise Linux 10389-ds-base-snmpFix pending
Affected
Red Hat Enterprise Linux 10python3-lib389Fix pending
Affected
Red Hat Enterprise Linux 9389-ds-baseFix pending
Affected
Red Hat Enterprise Linux 9389-ds-base-develFix pending
Affected
Red Hat Enterprise Linux 9389-ds-base-libsFix pending
Affected
Red Hat Enterprise Linux 9389-ds-base-snmpFix pending
Affected
Red Hat Enterprise Linux 9python3-lib389Fix pending
Affected
Red Hat Enterprise Linux 8389-ds-baseNot affected
Red Hat Enterprise Linux 8389-ds-base-develNot affected
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsNot affected
Red Hat Enterprise Linux 8389-ds-base-libsNot affected
Red Hat Enterprise Linux 8389-ds-base-snmpNot affected
Red Hat Enterprise Linux 8cockpit-389-dsNot affected
Red Hat Enterprise Linux 8python3-lib389Not affected
Red Hat Enterprise Linux 7389-ds-baseNot affected
Red Hat Enterprise Linux 7389-ds-base-develNot affected
Red Hat Enterprise Linux 7389-ds-base-libsNot affected
Red Hat Enterprise Linux 7389-ds-base-snmpNot affected
Red Hat Enterprise Linux 6389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-libsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.