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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | — | — |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cockpit | 362-1 | — |
| Debian 13 | cockpit | 337-1+deb13u2 | — |
| Debian 12 | cockpit | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cockpit | No fix yet | — |
| Ubuntu 26.04 LTS | cockpit | No fix yet | — |
| Ubuntu 25.10 | cockpit | No fix yet | — |
| Ubuntu 24.04 LTS | cockpit | No fix yet | — |
| Ubuntu 22.04 LTS | cockpit | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | cockpit | No fix yet | — |
| Ubuntu 18.04 LTS | cockpit | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | cockpit +7 | 356.2-1.el10_2 | RHSA-2026:21676 |
| RHEL 9 | cockpit +7 | 356.2-1.el9_8 | RHSA-2026:21468 |
| RHEL 8 | cockpit +4 | 310.8-1.el8_10 | RHSA-2026:21700 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | cockpit +6 | 334.2-1.el10_0 | RHSA-2026:21390 |
| RHEL 9.6 EUS | cockpit +6 | 334.3-1.el9_6 | RHSA-2026:21392 |
| RHEL 9.4 EUS | cockpit +7 | 311.3-1.el9_4 | RHSA-2026:21647 |
| RHEL 9.2 E4S | cockpit +7 | 286.3-1.el9_2 | RHSA-2026:21394 |
| RHEL 9.0 E4S | cockpit +7 | 264.3-1.el9_0 | RHSA-2026:21395 |
| RHEL 8.8 TUS | cockpit +4 | 286.2-1.el8_8 | RHSA-2026:21515 |
| RHEL 8.8 E4S | cockpit +4 | 286.2-1.el8_8 | RHSA-2026:21515 |
| RHEL 8.6 TUS | cockpit +4 | 264.3-1.el8_6 | RHSA-2026:21516 |
| RHEL 8.6 E4S | cockpit +4 | 264.3-1.el8_6 | RHSA-2026:21516 |
| RHEL 8.6 AUS | cockpit +4 | 264.3-1.el8_6 | RHSA-2026:21516 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | cockpit +7 | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux 9 | cockpit +7 | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux 8 | cockpit +4 | 310.8-1.el8_10 | ALSA-2026:21700 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | cockpit | 356.2-1.el10_2.rocky.0.1 | RLSA-2026:21676 |
| Rocky Linux 9 | cockpit | 356.2-1.el9_8.rocky.0.1 | RLSA-2026:21468 |
| Rocky Linux 8 | cockpit | 310.8-1.el8_10 | RLSA-2026:21700 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | cockpit | 364-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES for SAP 16.0 | cockpit-machines | 354-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES for SAP 16.0 | cockpit-packages | 5-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES for SAP 16.0 | cockpit-podman | 128-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES for SAP 16.0 | cockpit-repos | 4.8-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES for SAP 16.0 | cockpit-subscriptions | 16.2-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit | 364-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit-machines | 354-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit-packages | 5-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit-podman | 128-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit-repos | 4.8-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLES 16.0 | cockpit-subscriptions | 16.2-160000.1.1 | SUSE-SU-2026:22837-1 |
| SLE Micro 6.2 | cockpit | 364-160000.1.1 | SUSE-SU-2026:22770-1 |
| SLE Micro 6.2 | cockpit-machines | 354-160000.1.1 | SUSE-SU-2026:22770-1 |
| SLE Micro 6.2 | cockpit-podman | 128-160000.1.1 | SUSE-SU-2026:22770-1 |
| SLE Micro 6.2 | cockpit-repos | 4.8-160000.1.1 | SUSE-SU-2026:22770-1 |
| SLE Micro 6.2 | cockpit-subscriptions | 16.2-160000.1.1 | SUSE-SU-2026:22770-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | cockpit | 298-150500.3.12.1 | SUSE-SU-2026:2363-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cockpit | 361-1.1 | openSUSE-SU-2026:10819-1 |
| openSUSE Leap 16.0 | cockpit | 354-160000.4.1 | openSUSE-SU-2026:21399-1, openSUSE-SU-2026:21208-1 |
| openSUSE Leap 16.0 | cockpit-machines | 354-160000.1.1 | openSUSE-SU-2026:21399-1 |
| openSUSE Leap 16.0 | cockpit-packages | 5-160000.1.1 | openSUSE-SU-2026:21399-1 |
| openSUSE Leap 16.0 | cockpit-podman | 128-160000.1.1 | openSUSE-SU-2026:21399-1 |
| openSUSE Leap 16.0 | cockpit-repos | 4.8-160000.1.1 | openSUSE-SU-2026:21399-1 |
| openSUSE Leap 16.0 | cockpit-subscriptions | 16.2-160000.1.1 | openSUSE-SU-2026:21399-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | cockpit +7 | 356.2-1.0.1.el10_2 | ELSA-2026-21676 |
| Oracle Linux 9 | cockpit +7 | 356.2-1.0.1.el9_8 | ELSA-2026-21468 |
| Oracle Linux 8 | cockpit +4 | 310.8-1.0.1.el8_10 | ELSA-2026-21700 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
hakaioffsec/CVE-2026-4802 ★ 4 · May 11, 2026
Arbitrary command execution on Cockpit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 26
- ALSA-2026:21468 Important: cockpit security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:21676 Important: cockpit security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:21700 Important: cockpit security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:21676 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21516 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21647 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21468 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21515 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21395 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21394 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21390 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:21392 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- SUSE-SU-2026:22837-1 Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions SUSE / openSUSE Security Updates · Jul 28, 2026
- WID-SEC-2026-1699 Red Hat Enterprise Linux (Cockpit): Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jul 27, 2026
- openSUSE-SU-2026:21399-1 Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:22770-1 Security update for cockpit, cockpit-machines, cockpit-packages, cockpit-podman, cockpit-repos, cockpit-subscriptions SUSE / openSUSE Security Updates · Jul 23, 2026
- ELSA-2026-21676 Important: cockpit security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 16, 2026
- openSUSE-SU-2026:21208-1 Security update for cockpit SUSE / openSUSE Security Updates · Jul 3, 2026
- RHSA-2026:21700 Red Hat Security Advisory: cockpit security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- ELSA-2026-21468 Important: cockpit security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 23, 2026
- SUSE-SU-2026:2363-1 Security update for cockpit SUSE / openSUSE Security Updates · Jun 12, 2026
- RLSA-2026:21676 Important: cockpit security update Rocky Linux Security Advisories · Jun 4, 2026
- RLSA-2026:21468 Important: cockpit security update Rocky Linux Security Advisories · May 30, 2026
- RLSA-2026:21700 Important: cockpit security update Rocky Linux Security Advisories · May 29, 2026
- ELSA-2026-21700 Important: cockpit security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 28, 2026
- openSUSE-SU-2026:10819-1 cockpit-361-1.1 on GA media SUSE / openSUSE Security Updates · May 21, 2026
References
- RHSA-2026:21390 vendor-advisory
- RHSA-2026:21392 vendor-advisory
- RHSA-2026:21394 vendor-advisory
- RHSA-2026:21395 vendor-advisory
- RHSA-2026:21468 vendor-advisory
- RHSA-2026:21515 vendor-advisory
- RHSA-2026:21516 vendor-advisory
- RHSA-2026:21647 vendor-advisory
- RHSA-2026:21676 vendor-advisory
- RHSA-2026:21700 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-4802 vdb-entry
- RHBZ#2451155 issue-tracking
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210