CVE-2026-4802

high
Published 2026-05-11 Β· Modified 2026-05-28
CVSS v3
8.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
8.0

Description

A flaw was found in Cockpit. This vulnerability allows a remote attacker to achieve arbitrary command execution on the host by exploiting unsanitized user-controlled parameters within crafted links in the system logs user interface (UI). An attacker can inject shell metacharacters and command substitutions into these parameters, leading to the execution of arbitrary shell commands on the affected system. This could result in a complete system compromise.

Predictions

Exploit likelihood
87%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata β€” Red Hat Inc. Β· View original β†— Β· Open-Errata-API

Description cockpit: Cockpit: Arbitrary command execution via crafted links in system logs UI Red Hat statement An Important arbitrary command execution flaw exists in Cockpit's system logs UI. This vulnerability allows a remote attacker to execute arbitrary commands on the host by exploiting unsanitized user-controlled parameters within crafted links. This impacts Red Hat Enterprise Linux…

Description

cockpit: Cockpit: Arbitrary command execution via crafted links in system logs UI

Red Hat statement

An Important arbitrary command execution flaw exists in Cockpit's system logs UI. This vulnerability allows a remote attacker to execute arbitrary commands on the host by exploiting unsanitized user-controlled parameters within crafted links. This impacts Red Hat Enterprise Linux systems where Cockpit is installed and accessible.

CVSS v3: 8.0 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 10cockpit-0:356.2-1.el10_2RHSA-2026:216762026-05-28T00:00:00Z
Red Hat Enterprise Linux 10.0 Extended Update Supportcockpit-0:334.2-1.el10_0RHSA-2026:213902026-05-27T00:00:00Z
Red Hat Enterprise Linux 8cockpit-0:310.8-1.el8_10RHSA-2026:217002026-05-28T00:00:00Z
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportcockpit-0:264.3-1.el8_6RHSA-2026:215162026-05-27T00:00:00Z
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicecockpit-0:264.3-1.el8_6RHSA-2026:215162026-05-27T00:00:00Z
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionscockpit-0:264.3-1.el8_6RHSA-2026:215162026-05-27T00:00:00Z
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecockpit-0:286.2-1.el8_8RHSA-2026:215152026-05-27T00:00:00Z
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionscockpit-0:286.2-1.el8_8RHSA-2026:215152026-05-27T00:00:00Z
Red Hat Enterprise Linux 9cockpit-0:356.2-1.el9_8RHSA-2026:214682026-05-27T00:00:00Z
Red Hat Enterprise Linux 9cockpit-0:356.2-1.el9_8RHSA-2026:214682026-05-27T00:00:00Z
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionscockpit-0:264.3-1.el9_0RHSA-2026:213952026-05-27T00:00:00Z
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionscockpit-0:286.3-1.el9_2RHSA-2026:213942026-05-27T00:00:00Z
Red Hat Enterprise Linux 9.4 Extended Update Supportcockpit-0:311.3-1.el9_4RHSA-2026:216472026-05-28T00:00:00Z

Package state

ProductPackageState
Red Hat Enterprise Linux 7cockpitNot affected

Apply commands

bash fix
Apply RHSA-2026:21676 for Red Hat Enterprise Linux 10
yum update -y cockpit
# or:
dnf upgrade -y cockpit

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 7Not affected

OS impact

OSVersionStatusFixed in
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyaffected
debian debiantrixieaffected
redhat rhel9fixed
suse slesaffected
almalinux almalinux9fixedcockpit-packagekit-356.2-1.el9_8.noarch.rpm
almalinux almalinux8fixedcockpit-doc-310.8-1.el8_10.noarch.rpm
debian debiansidfixed362-1

References

CWEs

CWE-78

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.