CVE-2026-4802
Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui
- State
- Published
- Severity
- 8.0 High
- Published
- May 11, 2026
- Updated
- Jul 15, 2026
- Reserved
- Mar 25, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.0 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| 3.1 | 8.0 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 7Red Hat |
References
- RHSA-2026:21390vendor-advisory
- RHSA-2026:21392vendor-advisory
- RHSA-2026:21394vendor-advisory
- RHSA-2026:21395vendor-advisory
- RHSA-2026:21468vendor-advisory
- RHSA-2026:21515vendor-advisory
- RHSA-2026:21516vendor-advisory
- RHSA-2026:21647vendor-advisory
- RHSA-2026:21676vendor-advisory
- RHSA-2026:21700vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-4802vdb-entry
- RHBZ#2451155issue-tracking
- 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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.