Vulnerability · Published May 11, 2026 · Assigned by redhat

CVE-2026-4802Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui

High 8.0

In plain English

A high-severity OS command injection in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10cockpit356.2-1.el10_2ALSA-2026:21676
AlmaLinux:8cockpit310.8-1.el8_10ALSA-2026:21700
AlmaLinux:9cockpit356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-bridge356.2-1.el10_2ALSA-2026:21676
AlmaLinux:8cockpit-bridge310.8-1.el8_10ALSA-2026:21700
AlmaLinux:9cockpit-bridge356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-doc356.2-1.el10_2ALSA-2026:21676
AlmaLinux:8cockpit-doc310.8-1.el8_10ALSA-2026:21700
AlmaLinux:9cockpit-doc356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-packagekit356.2-1.el10_2ALSA-2026:21676
AlmaLinux:9cockpit-packagekit356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-storaged356.2-1.el10_2ALSA-2026:21676
AlmaLinux:9cockpit-storaged356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-system356.2-1.el10_2ALSA-2026:21676
AlmaLinux:8cockpit-system310.8-1.el8_10ALSA-2026:21700
AlmaLinux:9cockpit-system356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-ws356.2-1.el10_2ALSA-2026:21676
AlmaLinux:8cockpit-ws310.8-1.el8_10ALSA-2026:21700
AlmaLinux:9cockpit-ws356.2-1.el9_8ALSA-2026:21468
AlmaLinux:10cockpit-ws-selinux356.2-1.el10_2ALSA-2026:21676
AlmaLinux:9cockpit-ws-selinux356.2-1.el9_8ALSA-2026:21468
Debian:12cockpitno fix listedDEBIAN-CVE-2026-4802
Debian:13cockpit337-1+deb13u2DEBIAN-CVE-2026-4802
Debian:14cockpit362-1DEBIAN-CVE-2026-4802
Rocky Linux:10cockpit0:356.2-1.el10_2.rocky.0.1RLSA-2026:21676
Rocky Linux:8cockpit0:310.8-1.el8_10RLSA-2026:21700
Rocky Linux:9cockpit0:356.2-1.el9_8.rocky.0.1RLSA-2026:21468
Ubuntu:22.04:LTScockpitno fix listedUBUNTU-CVE-2026-4802
Ubuntu:24.04:LTScockpitno fix listedUBUNTU-CVE-2026-4802
Ubuntu:25.10cockpitno fix listedUBUNTU-CVE-2026-4802
Ubuntu:26.04:LTScockpitno fix listedUBUNTU-CVE-2026-4802
Ubuntu:26.10cockpitno fix listedUBUNTU-CVE-2026-4802

Affected products (as reported)

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References