CVE-2026-4802
Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui
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.
Fixes and workarounds
Workaround
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
Source: CNA: redhatFix
RHSA-2026:21390: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux BaseOS EUS (v. 10.0) RHSA-2026:21676: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) RHSA-2026:21395: Red Hat Enterprise Linux AppStream E4S (v.9.0), Red Hat Enterprise Linux BaseOS E4S (v.9.0) RHSA-2026:21394: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux BaseOS E4S (v.9.2) RHSA-2026:21647: Red Hat Enterprise Linux AppStream EUS (v.9.4), Red Hat Enterprise Linux BaseOS EUS (v.9.4) RHSA-2026:21392: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6) RHSA-2026:21468: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9) RHSA-2026:21700: Red Hat Enterprise Linux BaseOS (v. 8) RHSA-2026:21516: Red Hat Enterprise Linux BaseOS AUS (v.8.6), Red Hat Enterprise Linux BaseOS E4S (v.8.6), Red Hat Enterprise Linux BaseOS TUS (v.8.6) RHSA-2026:21515: Red Hat Enterprise Linux BaseOS E4S (v.8.8), Red Hat Enterprise Linux BaseOS TUS (v.8.8)
Source: ADP: redhat-SADPWorkaround
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
Source: ADP: redhat-SADPAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Red Hat Enterprise Linux 10 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:356.2-1.el10_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 10.0 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:334.2-1.el10_0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:310.8-1.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.2-1.el8_8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.2-1.el8_8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:356.2-1.el9_8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el9_0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.3-1.el9_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:311.3-1.el9_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.6 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:334.3-1.el9_6; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:356.2-1.el10_2; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 10.0 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:334.2-1.el10_0; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:310.8-1.el8_10; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el8_6; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.2-1.el8_8; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.2-1.el8_8; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 9 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:356.2-1.el9_8; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:264.3-1.el9_0; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:286.3-1.el9_2; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:311.3-1.el9_4; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 9.6 Extended Update Support Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:334.3-1.el9_6; < * (unaffected, rpm)
Other versions: affected |
ADP: redhat-SADP |
| Red Hat Enterprise Linux 7 Red Hat cockpit
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
ADP: redhat-SADP |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 8.0 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | CNA: 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 | ADP: redhat-SADP |
| 3.1 / 8.0 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD: [email protected] |
| 3.1 / 8.0 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2026:21390CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21392CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21394CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21395CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21468CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21515CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21516CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21647CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21676CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21700CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4802CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210CNA: redhat
- http://www.openwall.com/lists/oss-security/2026/05/20/19ADP: CVE
- https://access.redhat.com/security/cve/CVE-2026-4802ADP: redhat-SADP · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155ADP: redhat-SADP · issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.jsonADP: redhat-SADP · x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:21390ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21676ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21395ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21394ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21647ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21392ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21468ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21700ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21516ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21515ADP: redhat-SADP · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21390[email protected]
- https://access.redhat.com/errata/RHSA-2026:21392[email protected]
- https://access.redhat.com/errata/RHSA-2026:21394[email protected]
- https://access.redhat.com/errata/RHSA-2026:21395[email protected]
- https://access.redhat.com/errata/RHSA-2026:21468[email protected]
- https://access.redhat.com/errata/RHSA-2026:21515[email protected]
- https://access.redhat.com/errata/RHSA-2026:21516[email protected]
- https://access.redhat.com/errata/RHSA-2026:21647[email protected]
- https://access.redhat.com/errata/RHSA-2026:21676[email protected]
- https://access.redhat.com/errata/RHSA-2026:21700[email protected]
- https://access.redhat.com/security/cve/CVE-2026-4802[email protected]
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155[email protected]
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210[email protected]
- http://www.openwall.com/lists/oss-security/2026/05/20/19af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2026:213900b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:213920b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:213940b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:213950b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:214680b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:215150b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:215160b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:216470b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:216760b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:217000b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/security/cve/CVE-2026-48020b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://bugzilla.redhat.com/show_bug.cgi?id=24511550b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json0b0ca135-0b70-47e7-9f44-1890c2a1c46c
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.