Shell Command Injection Vulnerability in Cockpit 389 Console by Red Hat
CVE-2026-19843

8.4HIGH

What is CVE-2026-19843?

A vulnerability exists in the Cockpit 389 Console due to improper handling of LDAP entries in the ldapsearch command. This flaw allows an LDAP user with permissions to create or rename directory entries to inject shell metacharacters into the distinguished name (DN). When the Cockpit administrator accesses this entry, the constructed shell command executes with root privileges on the directory server, potentially leading to unauthorized actions and system compromise. This vulnerability underscores the need for stringent input validation and escaping mechanisms in web applications.

References

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Andrew Rukin (Arenadata) for reporting this issue.
.