CVE-2026-4802
Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 67.8% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 11 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Enterprise Linux 10
package
cockpit |
unaffected 0:356.2-1.el10_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
cockpit |
unaffected 0:334.2-1.el10_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
cockpit |
unaffected 0:310.8-1.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
cockpit |
unaffected 0:264.3-1.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
cockpit |
unaffected 0:264.3-1.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
cockpit |
unaffected 0:264.3-1.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
cockpit |
unaffected 0:286.2-1.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
cockpit |
unaffected 0:286.2-1.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
cockpit |
unaffected 0:356.2-1.el9_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
cockpit |
unaffected 0:356.2-1.el9_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
cockpit |
unaffected 0:264.3-1.el9_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
cockpit |
unaffected 0:286.3-1.el9_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
cockpit |
unaffected 0:311.3-1.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
cockpit |
unaffected 0:334.3-1.el9_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7
package
cockpit |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of cockpit and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cockpit
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-4802 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-4802RHEL, Rocky, Alma, Fedora
rpm -q cockpit
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-4802Alpine
apk list --installed | grep -i cockpitWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2026-4802
trivy image --scanners vuln IMAGE | grep CVE-2026-4802
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- RHSA-2026:21390 access.redhat.com · vendor advisory
- RHSA-2026:21392 access.redhat.com · vendor advisory
- RHSA-2026:21394 access.redhat.com · vendor advisory
- RHSA-2026:21395 access.redhat.com · vendor advisory
- RHSA-2026:21468 access.redhat.com · vendor advisory
- RHSA-2026:21515 access.redhat.com · vendor advisory
- RHSA-2026:21516 access.redhat.com · vendor advisory
- RHSA-2026:21647 access.redhat.com · vendor advisory
- RHSA-2026:21676 access.redhat.com · vendor advisory
- RHSA-2026:21700 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-4802 access.redhat.com · vdb entry
- RHBZ#2451155 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210 github.com
- http://www.openwall.com/lists/oss-security/2026/05/20/19 openwall.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json security.access.redhat.com
Source: the record CVE-2026-4802 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.