CVE-2026-19843389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-19843 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-19843 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-19843 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-19843 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-19843 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-19843 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-19843 | |
| Debian 13 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-19843 | |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-19843 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | python3-lib389 | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Not affected | ||
| Red Hat Enterprise Linux 7 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-snmp | Not affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Will 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.
- Red Hat Directory Server 11.5 E4S for RHEL 8
- Red Hat Directory Server 11.7 E4S for RHEL 8
- Red Hat Directory Server 11.9 for RHEL 8
- Red Hat Directory Server 12.2 E4S for RHEL 9
- Red Hat Directory Server 12.4 E4S for RHEL 9
- Red Hat Directory Server 12.6 EUS for RHEL 9
- Red Hat Directory Server 12.8 for RHEL 9
- Red Hat Directory Server 12.9 for RHEL 9
- Red Hat Directory Server 13.0 EUS for RHEL 10
- Red Hat Directory Server 13.2 for RHEL 10
- Red Hat Directory Server 13.3 for RHEL 10
- Red Hat Directory Server 11
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:
- https://access.redhat.com/errata/RHSA-2026:102228 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:102229 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64768 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64769 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64779 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64780 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:102228
- https://access.redhat.com/errata/RHSA-2026:102229
- https://access.redhat.com/errata/RHSA-2026:64768
- https://access.redhat.com/errata/RHSA-2026:64769
- https://access.redhat.com/errata/RHSA-2026:64779
- https://access.redhat.com/errata/RHSA-2026:64780
- https://access.redhat.com/errata/RHSA-2026:64782
- https://access.redhat.com/errata/RHSA-2026:64792
- https://access.redhat.com/errata/RHSA-2026:64793
- https://access.redhat.com/errata/RHSA-2026:65375
- https://access.redhat.com/errata/RHSA-2026:79217
- https://access.redhat.com/security/cve/CVE-2026-19843
- https://bugzilla.redhat.com/show_bug.cgi?id=2515965
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.