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.
Security readout for executives and security teams
Plain-English summary
Cockpit, the web-based Linux management interface, can execute unintended shell commands when a logged-in user interacts with crafted links in the system logs UI. Successful exploitation could compromise the host. The issue is high severity because it affects confidentiality, integrity, and availability, but it requires privileges and user interaction.
Executive priority
Patch on an accelerated schedule, especially for management hosts. The vulnerability can lead to full host compromise, but current source evidence does not support emergency treatment based on active exploitation.
Technical view
CVE-2026-4802 is CWE-78 command injection in Cockpit logsJournal UI handling. Unsanitized user-controlled link parameters can include shell metacharacters or command substitutions that reach command execution on the host. CVSS 3.1 is 8.0 with network vector, low complexity, low privileges required, and user interaction required.
Likely exposure
Exposure is most likely on Red Hat Enterprise Linux 8, 9, and 10 systems running affected cockpit package streams listed by Red Hat. RHEL 7 is listed as unaffected. Internet-facing or broadly reachable Cockpit management interfaces raise operational risk.
Exploitation context
The bundle does not show CISA KEV listing or cited active exploitation. Exploitation is described as remote, but requires low privileges and user interaction. Treat crafted links in Cockpit system logs as the relevant risk path without assuming public weaponization.
Researcher notes
Key constraints are PR:L and UI:R. Focus validation on Cockpit logs UI link handling, affected Red Hat package streams, and vendor advisory coverage. Do not assume non-Red Hat distributions or unrelated Cockpit versions are affected from this bundle alone.
Mitigation direction
Apply the applicable Red Hat RHSA cockpit updates for each affected RHEL stream.
Prioritize hosts where Cockpit is enabled and reachable by administrators or operators.
For delayed patching, check Red Hat guidance or support for supported workarounds.
Retire or isolate affected streams that cannot receive the relevant security advisory updates.
Validation and detection
Inventory RHEL 8, 9, and 10 hosts with the cockpit package installed.
Map package versions against the affected versions listed in the CVE bundle.
Confirm patched hosts received the applicable RHSA advisory update.
Verify RHEL 7 systems are not incorrectly included as affected.
Recheck Red Hat CVE and errata pages for updated status before closure.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
3ADP providers
15Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.