CVE-2026-4802
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:356.2-1.el10_2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:334.2-1.el10_0 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:310.8-1.el8_10 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:264.3-1.el8_6 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:264.3-1.el8_6 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:264.3-1.el8_6 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:286.2-1.el8_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:286.2-1.el8_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:356.2-1.el9_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:356.2-1.el9_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:264.3-1.el9_0 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:286.3-1.el9_2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:311.3-1.el9_4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:334.3-1.el9_6 < * | unaffected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Workarounds
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 Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
cockpit: Cockpit: Arbitrary command execution via crafted links in system logs UI
Additional References
- https://access.redhat.com/security/cve/CVE-2026-4802
- https://bugzilla.redhat.com/show_bug.cgi?id=2451155
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4802.json
- https://access.redhat.com/errata/RHSA-2026:21390
- https://access.redhat.com/errata/RHSA-2026:21676
- https://access.redhat.com/errata/RHSA-2026:21395
- https://access.redhat.com/errata/RHSA-2026:21394
- https://access.redhat.com/errata/RHSA-2026:21647
- https://access.redhat.com/errata/RHSA-2026:21392
- https://access.redhat.com/errata/RHSA-2026:21468
- https://access.redhat.com/errata/RHSA-2026:21700
- https://access.redhat.com/errata/RHSA-2026:21516
- https://access.redhat.com/errata/RHSA-2026:21515
References
- https://access.redhat.com/errata/RHSA-2026:21390
- https://access.redhat.com/errata/RHSA-2026:21392
- https://access.redhat.com/errata/RHSA-2026:21394
- https://access.redhat.com/errata/RHSA-2026:21395
- https://access.redhat.com/errata/RHSA-2026:21468
- https://access.redhat.com/errata/RHSA-2026:21515
- 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/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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.