Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui
Published May 11, 2026
8.0
HIGHCVSS 3.1
EPSS 1.19%
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
No data.
No data.
No data.
Red Hat Enterprise Linux 10
cockpit-0:356.2-1.el10_2
Fixed · RHSA-2026:21676
Red Hat Enterprise Linux 10.0 Extended Update Support
cockpit-0:334.2-1.el10_0
Fixed · RHSA-2026:21390
Red Hat Enterprise Linux 8
cockpit-0:310.8-1.el8_10
Fixed · RHSA-2026:21700
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
cockpit-0:264.3-1.el8_6
Fixed · RHSA-2026:21516
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
cockpit-0:264.3-1.el8_6
Fixed · RHSA-2026:21516
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
cockpit-0:264.3-1.el8_6
Fixed · RHSA-2026:21516
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
cockpit-0:286.2-1.el8_8
Fixed · RHSA-2026:21515
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
cockpit-0:286.2-1.el8_8
Fixed · RHSA-2026:21515
Red Hat Enterprise Linux 9
cockpit-0:356.2-1.el9_8
Fixed · RHSA-2026:21468
Red Hat Enterprise Linux 9
cockpit-0:356.2-1.el9_8
Fixed · RHSA-2026:21468
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
cockpit-0:264.3-1.el9_0
Fixed · RHSA-2026:21395
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
cockpit-0:286.3-1.el9_2
Fixed · RHSA-2026:21394
Red Hat Enterprise Linux 9.4 Extended Update Support
cockpit-0:311.3-1.el9_4
Fixed · RHSA-2026:21647
Red Hat Enterprise Linux 9.6 Extended Update Support
cockpit-0:334.3-1.el9_6
Fixed · RHSA-2026:21392
Red Hat Enterprise Linux 7
cockpit
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | cockpit-0:356.2-1.el10_2 | Fixed | RHSA-2026:21676 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | cockpit-0:334.2-1.el10_0 | Fixed | RHSA-2026:21390 |
| Red Hat Enterprise Linux 8 | cockpit-0:310.8-1.el8_10 | Fixed | RHSA-2026:21700 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | cockpit-0:264.3-1.el8_6 | Fixed | RHSA-2026:21516 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | cockpit-0:264.3-1.el8_6 | Fixed | RHSA-2026:21516 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | cockpit-0:264.3-1.el8_6 | Fixed | RHSA-2026:21516 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | cockpit-0:286.2-1.el8_8 | Fixed | RHSA-2026:21515 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | cockpit-0:286.2-1.el8_8 | Fixed | RHSA-2026:21515 |
| Red Hat Enterprise Linux 9 | cockpit-0:356.2-1.el9_8 | Fixed | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9 | cockpit-0:356.2-1.el9_8 | Fixed | RHSA-2026:21468 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | cockpit-0:264.3-1.el9_0 | Fixed | RHSA-2026:21395 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | cockpit-0:286.3-1.el9_2 | Fixed | RHSA-2026:21394 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | cockpit-0:311.3-1.el9_4 | Fixed | RHSA-2026:21647 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | cockpit-0:334.3-1.el9_6 | Fixed | RHSA-2026:21392 |
| Red Hat Enterprise Linux 7 | cockpit | Not affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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
Red Hat statement
An Important arbitrary command execution flaw exists in Cockpit's system logs UI. This vulnerability allows a remote attacker to execute arbitrary commands on the host by exploiting unsanitized user-controlled parameters within crafted links. This impacts Red Hat Enterprise Linux systems where Cockpit is installed and accessible.
Red Hat mitigation
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
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed May 11, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
May–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.19% (0.01190) | 66.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.80% (0.00799) | 51.58th | v5 (v2026.06.15) |
| May 12, 2026 | 0.19% (0.00192) | 40.79th | v4 (v2025.03.14) |
References (17)
- http://www.openwall.com/lists/oss-security/2026/05/20/19
- https://access.redhat.com/errata/RHSA-2026:21390 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21392 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21394 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21395 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21468 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21515 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21516 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21647 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21676 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21700 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4802 vdb-entryx_refsource_REDHATVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155 issue-trackingx_refsource_REDHATIssue Tracking
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210
- https://nvd.nist.gov/vuln/detail/CVE-2026-4802
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json
- https://www.cve.org/CVERecord?id=CVE-2026-4802
Change history (0)
No recorded changes yet.