Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui

Summary

CVECVE-2026-4802
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-11 14:16:31 UTC
Updated2026-07-15 02:22:55 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 8 HIGH from ADP

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.010160000 probability, percentile 0.594160000 (date 2026-07-18)

Problem Types: CWE-78 | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1[email protected]Secondary8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1CNACVSS8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 10 unaffected 0:356.2-1.el10_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support unaffected 0:334.2-1.el10_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:310.8-1.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 0:264.3-1.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 0:264.3-1.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 0:264.3-1.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service unaffected 0:286.2-1.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions unaffected 0:286.2-1.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:356.2-1.el9_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:356.2-1.el9_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:264.3-1.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions unaffected 0:286.3-1.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:311.3-1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support unaffected 0:334.3-1.el9_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 10 unaffected 0:356.2-1.el10_2 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support unaffected 0:334.2-1.el10_0 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8 unaffected 0:310.8-1.el8_10 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 0:264.3-1.el8_6 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 0:264.3-1.el8_6 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 0:264.3-1.el8_6 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service unaffected 0:286.2-1.el8_8 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions unaffected 0:286.2-1.el8_8 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9 unaffected 0:356.2-1.el9_8 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:264.3-1.el9_0 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions unaffected 0:286.3-1.el9_2 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:311.3-1.el9_4 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support unaffected 0:334.3-1.el9_6 * rpm Not specified
ADP Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:21515 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21468 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21394 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-4802 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21676 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21647 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21390 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21395 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21700 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21516 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJourna... [email protected] github.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
www.openwall.com/lists/oss-security/2026/05/20/19 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:21392 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Gabriel Rodrigues (HAKAI) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-03-25T10:32:01.264ZReported to Red Hat.
CNA2026-05-11T12:34:26.148ZMade public.
ADP2026-03-25T10:32:01.264ZReported to Red Hat.
ADP2026-05-11T12:34:26.148ZMade public.

Solutions

ADP: RHSA-2026:21390: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux BaseOS EUS (v. 10.0)

ADP: RHSA-2026:21676: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10)

ADP: RHSA-2026:21395: Red Hat Enterprise Linux AppStream E4S (v.9.0), Red Hat Enterprise Linux BaseOS E4S (v.9.0)

ADP: RHSA-2026:21394: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux BaseOS E4S (v.9.2)

ADP: RHSA-2026:21647: Red Hat Enterprise Linux AppStream EUS (v.9.4), Red Hat Enterprise Linux BaseOS EUS (v.9.4)

ADP: RHSA-2026:21392: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6)

ADP: RHSA-2026:21468: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9)

ADP: RHSA-2026:21700: Red Hat Enterprise Linux BaseOS (v. 8)

ADP: 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)

ADP: RHSA-2026:21515: Red Hat Enterprise Linux BaseOS E4S (v.8.8), Red Hat Enterprise Linux BaseOS TUS (v.8.8)

Workarounds

CNA: 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

ADP: 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report