{"id":"CVE-2026-19843","published":"2026-09-07T14:14:58Z","modified":"2026-11-23T13:51:29Z","title":"389-ds-base: 389-ds-base: command injection via unescaped ldap dn in cockpit 389 console ldap editor","vendor":"Red Hat","product":"Red Hat Directory Server 11.5 E4S for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00729,"percentile":0.50163,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:102228","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:102229","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64768","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64769","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64779","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64780","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64782","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64792","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64793","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65375","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:79217","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-19843","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515965","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-24","earliestUrl":"https://github.com/gduma-phData/patch-CVE-2026-19843","repos":[{"name":"gduma-phData/patch-CVE-2026-19843","url":"https://github.com/gduma-phData/patch-CVE-2026-19843","stars":0,"created":"2026-08-24"}]},"first":{"date":"2026-08-24","source":"PoC-in-GitHub","url":"https://github.com/gduma-phData/patch-CVE-2026-19843"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Directory Server 11.5 E4S for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 11.7 E4S for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 11.9 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 12.2 E4S for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 12.4 E4S for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 12.6 EUS for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 12.8 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 12.9 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 13.0 EUS for RHEL 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Directory Server 13.2 for RHEL 10","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-08T14:06:40.847559Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-72458","exploited":false,"provenance":"source"}}