OS Command Injection in Cockpit - CVE-2026-4802
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary shell commands on the host, potentially compromising the system.
The vulnerability exists due to improper neutralization of shell metacharacters in Cockpit's system logs user interface when processing user-controlled link parameters. A remote user can trick a logged-in user into opening a specially crafted link containing shell metacharacters and command substitutions to execute arbitrary commands on the affected host.
Affected software
Anolis OS
Fedora
cockpit-system
cockpit-doc
cockpit-ws
cockpit-bridge
cockpit
cockpit-packagekit
cockpit-storaged
cockpit-sosreport
cockpit-selinux
cockpit-networkmanager
cockpit-kdump
cockpit-ws-selinux
How to mitigate CVE-2026-4802
cockpit-system - addressed in versions 310.8-1.0.1, 362-1
cockpit-doc - addressed in versions 310.8-1.0.1, 362-1
cockpit-ws - addressed in versions 310.8-1.0.1, 362-1
cockpit-bridge - addressed in versions 310.8-1.0.1, 362-1
cockpit - addressed in versions 310.8-1.0.1, 362-1
cockpit-packagekit - update to 362-1
cockpit-storaged - update to 362-1
cockpit-sosreport - update to 362-1
cockpit-selinux - update to 362-1
cockpit-networkmanager - update to 362-1
cockpit-kdump - update to 362-1
cockpit-ws-selinux - update to 362-1
cockpit - addressed in versions 362-1.fc43, 362-1.fc44