CVE-2026-4802Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cockpit | Fix pending | UBUNTU-CVE-2026-4802 | |
| Ubuntu 26.04 | cockpit | Fix pending | UBUNTU-CVE-2026-4802 | |
| Ubuntu 25.10 | cockpit | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-4802 | |
| Ubuntu 24.04 | cockpit | Fix pending | UBUNTU-CVE-2026-4802 | |
| Ubuntu 22.04 | cockpit | Fix pending | UBUNTU-CVE-2026-4802 | |
| Ubuntu 20.04 | cockpit | Fix pending | UBUNTU-CVE-2026-4802 | |
| Debian 14 | cockpit | Fixed | 362-1 | DEBIAN-CVE-2026-4802 |
| Debian 13 | cockpit | Fixed | 337-1+deb13u2 | DEBIAN-CVE-2026-4802 |
| Debian 12 | cockpit | Fix pending | DEBIAN-CVE-2026-4802 | |
| Red Hat Enterprise Linux 10 | cockpit | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-bridge | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-doc | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-packagekit | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-storaged | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-system | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-ws | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10 | cockpit-ws-selinux | Fixed | 0:356.2-1.el10_2 | RHSA-2026:21676 |
| Red Hat Enterprise Linux 9 | cockpit | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-bridge | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-doc | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-packagekit | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-storaged | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-system | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-ws | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-ws-selinux | Fixed | 0:356.2-1.el9_8 | RHSA-2026:21468 |
| Red Hat Enterprise Linux 8 | cockpit | Fixed | 0:310.8-1.el8_10 | RHSA-2026:21700 |
| Red Hat Enterprise Linux 8 | cockpit-bridge | Fixed | 0:310.8-1.el8_10 | RHSA-2026:21700 |
| Red Hat Enterprise Linux 8 | cockpit-doc | Fixed | 0:310.8-1.el8_10 | RHSA-2026:21700 |
| Red Hat Enterprise Linux 8 | cockpit-system | Fixed | 0:310.8-1.el8_10 | RHSA-2026:21700 |
| Red Hat Enterprise Linux 8 | cockpit-ws | Fixed | 0:310.8-1.el8_10 | RHSA-2026:21700 |
| Red Hat Enterprise Linux 7 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-machines-ovirt | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-ws | Not affected | ||
| AlmaLinux 10 | cockpit-bridge | Fixed | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 10 | cockpit-doc | Fixed | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 10 | cockpit-packagekit | Fixed | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 10 | cockpit-storaged | Fixed | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 10 | cockpit-system | Fixed | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 9 | cockpit | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-bridge | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-doc | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-packagekit | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-storaged | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-system | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-ws | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 9 | cockpit-ws-selinux | Fixed | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 8 | cockpit | Fixed | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux 8 | cockpit-bridge | Fixed | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux 8 | cockpit-doc | Fixed | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux 8 | cockpit-system | Fixed | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux 8 | cockpit-ws | Fixed | 310.8-1.el8_10 | ALSA-2026:21700 |
| Rocky Linux 10 | cockpit | Fixed | 0:356.2-1.el10_2.rocky.0.1 | RLSA-2026:21676 |
| Rocky Linux 9 | cockpit | Fixed | 0:356.2-1.el9_8.rocky.0.1 | RLSA-2026:21468 |
| Rocky Linux 8 | cockpit | Fixed | 0:310.8-1.el8_10 | RLSA-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.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.4 Extended Update Support
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:
- https://access.redhat.com/errata/RHSA-2026:21390 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:21392 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:21394 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:21395 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:21468 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:21515 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:21390
- https://access.redhat.com/errata/RHSA-2026:21392
- https://access.redhat.com/errata/RHSA-2026:21394
- https://access.redhat.com/errata/RHSA-2026:21395
- https://access.redhat.com/errata/RHSA-2026:21468
- https://access.redhat.com/errata/RHSA-2026:21515
- https://access.redhat.com/errata/RHSA-2026:21516
- https://access.redhat.com/errata/RHSA-2026:21647
- https://access.redhat.com/errata/RHSA-2026:21676
- https://access.redhat.com/errata/RHSA-2026:21700
- https://access.redhat.com/security/cve/CVE-2026-4802
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210
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.