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

- Severity: High 8.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Published: 2026-05-11T12:48:08.657Z
- Modified: 2026-11-26T14:11:37.010Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- cockpit: no versions given (not affected: from 0:356.2-1.el10_2 before *; from 0:334.2-1.el10_0 before *; from 0:310.8-1.el8_10 before *; from 0:264.3-1.el8_6 before *; from 0:286.2-1.el8_8 before *; from 0:356.2-1.el9_8 before *; from 0:264.3-1.el9_0 before *; from 0:286.3-1.el9_2 before *; from 0:311.3-1.el9_4 before *; from 0:334.3-1.el9_6 before *)

## Every score

- redhat: CVSS: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: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <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)
- <https://access.redhat.com/errata/RHSA-2026:21516> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21647> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21676> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21700> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-4802> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2451155> (issue-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>

## Sources

- CVE List: [CVE-2026-4802](https://www.cve.org/CVERecord?id=CVE-2026-4802), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-4802](https://nvd.nist.gov/vuln/detail/CVE-2026-4802), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-4802 · Whole record: https://cve.day/CVE-2026-4802.json · Rebuilt by cve.day 2026-11-26T14:22:22.093Z
