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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | cockpit | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:8 | cockpit | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux:9 | cockpit | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-bridge | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:8 | cockpit-bridge | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux:9 | cockpit-bridge | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-doc | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:8 | cockpit-doc | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux:9 | cockpit-doc | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-packagekit | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:9 | cockpit-packagekit | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-storaged | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:9 | cockpit-storaged | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-system | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:8 | cockpit-system | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux:9 | cockpit-system | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-ws | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:8 | cockpit-ws | 310.8-1.el8_10 | ALSA-2026:21700 |
| AlmaLinux:9 | cockpit-ws | 356.2-1.el9_8 | ALSA-2026:21468 |
| AlmaLinux:10 | cockpit-ws-selinux | 356.2-1.el10_2 | ALSA-2026:21676 |
| AlmaLinux:9 | cockpit-ws-selinux | 356.2-1.el9_8 | ALSA-2026:21468 |
| Debian:12 | cockpit | no fix listed | DEBIAN-CVE-2026-4802 |
| Debian:13 | cockpit | 337-1+deb13u2 | DEBIAN-CVE-2026-4802 |
| Debian:14 | cockpit | 362-1 | DEBIAN-CVE-2026-4802 |
| Rocky Linux:10 | cockpit | 0:356.2-1.el10_2.rocky.0.1 | RLSA-2026:21676 |
| Rocky Linux:8 | cockpit | 0:310.8-1.el8_10 | RLSA-2026:21700 |
| Rocky Linux:9 | cockpit | 0:356.2-1.el9_8.rocky.0.1 | RLSA-2026:21468 |
| Ubuntu:22.04:LTS | cockpit | no fix listed | UBUNTU-CVE-2026-4802 |
| Ubuntu:24.04:LTS | cockpit | no fix listed | UBUNTU-CVE-2026-4802 |
| Ubuntu:25.10 | cockpit | no fix listed | UBUNTU-CVE-2026-4802 |
| Ubuntu:26.04:LTS | cockpit | no fix listed | UBUNTU-CVE-2026-4802 |
| Ubuntu:26.10 | cockpit | no fix listed | UBUNTU-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
- RHSA-2026:21390 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21392 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21394 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21395 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21468 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21515 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21516 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21647 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21676 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:21700 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4802 vdb-entry, x_refsource_REDHAT
- RHBZ#2451155 issue-tracking, x_refsource_REDHAT
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210
- http://www.openwall.com/lists/oss-security/2026/05/20/19
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json x_sadp-csaf-vex