CVE-2026-4802
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 1.02%• Percentile: 59%
Techniques & Countermeasures
- CWE-78•Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
References (15)
- https://access.redhat.com/security/cve/CVE-2026-4802
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155
- 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://access.redhat.com/errata/RHSA-2026:21390
- https://access.redhat.com/errata/RHSA-2026:21394
- https://access.redhat.com/errata/RHSA-2026:21468
- https://access.redhat.com/errata/RHSA-2026:21515
- https://access.redhat.com/errata/RHSA-2026:21395
- https://access.redhat.com/errata/RHSA-2026:21516
- https://access.redhat.com/errata/RHSA-2026:21647
- https://access.redhat.com/errata/RHSA-2026:21676
- https://access.redhat.com/errata/RHSA-2026:21700
- https://access.redhat.com/errata/RHSA-2026:21392
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json