CVEfocus › CVE database › CVE-2026-4802

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

CVSS 8.0 HighEPSS 1.0% (higher than 64% of CVEs)Published 2026-05-11Updated 2026-11-04Assigner: redhat

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.

CWE-78

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

44Fixed
6Fix pending
1Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cockpitFix pendingUBUNTU-CVE-2026-4802
Ubuntu 26.04cockpitFix pendingUBUNTU-CVE-2026-4802
Ubuntu 25.10cockpitWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-4802
Ubuntu 24.04cockpitFix pendingUBUNTU-CVE-2026-4802
Ubuntu 22.04cockpitFix pendingUBUNTU-CVE-2026-4802
Ubuntu 20.04cockpitFix pendingUBUNTU-CVE-2026-4802
Debian 14cockpitFixed362-1DEBIAN-CVE-2026-4802
Debian 13cockpitFixed337-1+deb13u2DEBIAN-CVE-2026-4802
Debian 12cockpitFix pendingDEBIAN-CVE-2026-4802
Red Hat Enterprise Linux 10cockpitFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-bridgeFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-docFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-packagekitFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-storagedFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-systemFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-wsFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 10cockpit-ws-selinuxFixed0:356.2-1.el10_2RHSA-2026:21676
Red Hat Enterprise Linux 9cockpitFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-bridgeFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-docFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-packagekitFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-storagedFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-systemFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-wsFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 9cockpit-ws-selinuxFixed0:356.2-1.el9_8RHSA-2026:21468
Red Hat Enterprise Linux 8cockpitFixed0:310.8-1.el8_10RHSA-2026:21700
Red Hat Enterprise Linux 8cockpit-bridgeFixed0:310.8-1.el8_10RHSA-2026:21700
Red Hat Enterprise Linux 8cockpit-docFixed0:310.8-1.el8_10RHSA-2026:21700
Red Hat Enterprise Linux 8cockpit-systemFixed0:310.8-1.el8_10RHSA-2026:21700
Red Hat Enterprise Linux 8cockpit-wsFixed0:310.8-1.el8_10RHSA-2026:21700
Red Hat Enterprise Linux 7cockpitNot affected
Red Hat Enterprise Linux 7cockpit-bridgeNot affected
Red Hat Enterprise Linux 7cockpit-docNot affected
Red Hat Enterprise Linux 7cockpit-machines-ovirtNot affected
Red Hat Enterprise Linux 7cockpit-systemNot affected
Red Hat Enterprise Linux 7cockpit-wsNot affected
AlmaLinux 10cockpit-bridgeFixed356.2-1.el10_2ALSA-2026:21676
AlmaLinux 10cockpit-docFixed356.2-1.el10_2ALSA-2026:21676
AlmaLinux 10cockpit-packagekitFixed356.2-1.el10_2ALSA-2026:21676
AlmaLinux 10cockpit-storagedFixed356.2-1.el10_2ALSA-2026:21676
AlmaLinux 10cockpit-systemFixed356.2-1.el10_2ALSA-2026:21676
AlmaLinux 9cockpitFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-bridgeFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-docFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-packagekitFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-storagedFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-systemFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-wsFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 9cockpit-ws-selinuxFixed356.2-1.el9_8ALSA-2026:21468
AlmaLinux 8cockpitFixed310.8-1.el8_10ALSA-2026:21700
AlmaLinux 8cockpit-bridgeFixed310.8-1.el8_10ALSA-2026:21700
AlmaLinux 8cockpit-docFixed310.8-1.el8_10ALSA-2026:21700
AlmaLinux 8cockpit-systemFixed310.8-1.el8_10ALSA-2026:21700
AlmaLinux 8cockpit-wsFixed310.8-1.el8_10ALSA-2026:21700
Rocky Linux 10cockpitFixed0:356.2-1.el10_2.rocky.0.1RLSA-2026:21676
Rocky Linux 9cockpitFixed0:356.2-1.el9_8.rocky.0.1RLSA-2026:21468
Rocky Linux 8cockpitFixed0:310.8-1.el8_10RLSA-2026:21700

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Operational risk reduction until fixes are available: restrict access to Cockpit to trusted networks/users only, and avoid opening untrusted crafted Cockpit URLs

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.