OS Command Injection in Cockpit - CVE-2026-4802

 

OS Command Injection in Cockpit - CVE-2026-4802

Published: November 18, 2026


Vulnerability identifier: #VU167255
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-4802
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Cockpit
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

Install security update from vendor's website.

Cockpit - update to 362
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

External References

Related Security Bulletins