OS Command Injection in Cockpit - CVE-2026-4631

 

OS Command Injection in Cockpit - CVE-2026-4631

Published: April 10, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to SSH command-line argument injection. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Cockpit
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
cockpit (Red Hat package)
cockpit

How to mitigate CVE-2026-4631

Install updates from vendor's website.

Cockpit - update to 360
cockpit (Red Hat package) - addressed in versions 334.1-3.el10_0, 334.2-2.el9_6, 344-2.el9_7, 344-3.el10_1
cockpit - addressed in versions 357-2.fc42, 360-1.fc43, 360-1.fc44

External References

Related Security Bulletins