{
  "threat_severity" : "Important",
  "public_date" : "2026-05-11T12:34:26Z",
  "bugzilla" : {
    "description" : "cockpit: Cockpit: Arbitrary command execution via crafted links in system logs UI",
    "id" : "2451155",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2451155"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-78",
  "details" : [ "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.", "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." ],
  "statement" : "An Important arbitrary command execution flaw exists in Cockpit's system logs UI. This vulnerability allows a remote attacker to execute arbitrary commands on the host by exploiting unsanitized user-controlled parameters within crafted links. This impacts Red Hat Enterprise Linux systems where Cockpit is installed and accessible.",
  "acknowledgement" : "Red Hat would like to thank Gabriel Rodrigues (HAKAI) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2026-05-28T00:00:00Z",
    "advisory" : "RHSA-2026:21676",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.2",
    "package" : "cockpit-0:356.2-1.el10_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10.0 Extended Update Support",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21390",
    "cpe" : "cpe:/o:redhat:enterprise_linux_eus:10.0",
    "package" : "cockpit-0:334.2-1.el10_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2026-05-28T00:00:00Z",
    "advisory" : "RHSA-2026:21700",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "cockpit-0:310.8-1.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21516",
    "cpe" : "cpe:/o:redhat:rhel_aus:8.6",
    "package" : "cockpit-0:264.3-1.el8_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21516",
    "cpe" : "cpe:/o:redhat:rhel_tus:8.6",
    "package" : "cockpit-0:264.3-1.el8_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21516",
    "cpe" : "cpe:/o:redhat:rhel_e4s:8.6",
    "package" : "cockpit-0:264.3-1.el8_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21515",
    "cpe" : "cpe:/o:redhat:rhel_tus:8.8",
    "package" : "cockpit-0:286.2-1.el8_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21515",
    "cpe" : "cpe:/o:redhat:rhel_e4s:8.8",
    "package" : "cockpit-0:286.2-1.el8_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21468",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "cockpit-0:356.2-1.el9_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21468",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "cockpit-0:356.2-1.el9_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21395",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.0",
    "package" : "cockpit-0:264.3-1.el9_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2026-05-27T00:00:00Z",
    "advisory" : "RHSA-2026:21394",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "cockpit-0:286.3-1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2026-05-28T00:00:00Z",
    "advisory" : "RHSA-2026:21647",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.4",
    "package" : "cockpit-0:311.3-1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.6 Extended Update Support",
    "release_date" : "2026-05-28T00:00:00Z",
    "advisory" : "RHSA-2026:21392",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.6",
    "package" : "cockpit-0:334.3-1.el9_6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "cockpit",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-4802\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-4802\nhttps://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210" ],
  "csaw" : true,
  "name" : "CVE-2026-4802",
  "mitigation" : {
    "value" : "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.\nOperational risk reduction until fixes are available: restrict access to Cockpit to trusted networks/users only, and avoid opening untrusted crafted Cockpit URLs",
    "lang" : "en:us"
  }
}