OS Command Injection in Cockpit - CVE-2026-4631
Published: April 10, 2026
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
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
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
- OS Command Injection in Cockpit
- Fedora 43 update for cockpit
- Fedora 44 update for cockpit
- Red Hat Enterprise Linux 10 update for cockpit
- Red Hat Enterprise Linux 9 update for cockpit
- Red Hat Enterprise Linux 10 update for cockpit
- Red Hat Enterprise Linux 9 update for cockpit
- Fedora 42 update for cockpit