{"id":"CVE-2026-4802","title":"Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui","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).…","severity":"high","cvss":8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-78"],"vendor":"Red Hat","product":"cockpit","affected":["cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-11T00:00:00+00:00"},"exploitAvailable":true,"published":"2026-05-11","updated":"2026-11-04","sourceUpdated":"2026-11-04T22:41:51.106Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-4802","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:21390","label":"RHSA-2026:21390"},{"url":"https://access.redhat.com/errata/RHSA-2026:21392","label":"RHSA-2026:21392"},{"url":"https://access.redhat.com/errata/RHSA-2026:21394","label":"RHSA-2026:21394"},{"url":"https://access.redhat.com/errata/RHSA-2026:21395","label":"RHSA-2026:21395"},{"url":"https://access.redhat.com/errata/RHSA-2026:21468","label":"RHSA-2026:21468"},{"url":"https://access.redhat.com/errata/RHSA-2026:21515","label":"RHSA-2026:21515"},{"url":"https://access.redhat.com/errata/RHSA-2026:21516","label":"RHSA-2026:21516"},{"url":"https://access.redhat.com/errata/RHSA-2026:21647","label":"RHSA-2026:21647"},{"url":"https://access.redhat.com/errata/RHSA-2026:21676","label":"RHSA-2026:21676"},{"url":"https://access.redhat.com/errata/RHSA-2026:21700","label":"RHSA-2026:21700"},{"url":"https://access.redhat.com/security/cve/CVE-2026-4802"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451155","label":"RHBZ#2451155"},{"url":"https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210"}],"tags":["cve.org","exploit-available"],"epss":0.01016,"epssPercentile":0.63453,"exploits":{"github":1,"githubRepos":["https://github.com/hakaioffsec/CVE-2026-4802"],"checkedAt":"2026-11-06T17:11:51.271Z"},"ingestedAt":"2026-11-05T21:36:00.656Z","slug":"CVE-2026-4802","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n### Workarounds\n\nMitigation 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.\n\nOperational risk reduction until fixes are available: restrict access to Cockpit to trusted networks/users only, and avoid opening untrusted crafted Cockpit URLs","depth":"midnight","depthScore":56,"depthScoreParts":{"impact":44,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[]}