# Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui

CVE record · `CVE-2026-4802`

- **Identifiers:** `CVE-2026-4802`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** No
- **CNA:** redhat
- **Weakness (CWE):** [CWE-78](https://cwe.mitre.org/data/definitions/78.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Technologies:** [Red Hat Enterprise Linux 10](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-10.md) · [Red Hat Enterprise Linux 10.0 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-10-0-extended-update-support.md) · [Red Hat Enterprise Linux 8](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8.md) · [Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-advanced-mission-critical-update-support.md) · [Red Hat Enterprise Linux 8.6 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 8.8 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9.md) · [Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-0-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-2-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.4 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-4-extended-update-support.md) · [Red Hat Enterprise Linux 9.6 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-6-extended-update-support.md) · [Red Hat Enterprise Linux 7](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-7.md)
- **Published:** 11 May 2026
- **Updated:** 4 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: redhat) at 11 May 2026, 12:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Red Hat. Product: Red Hat Enterprise Linux 10.
  - unaffected: `0:356.2-1.el10_2 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 10.0 Extended Update Support.
  - unaffected: `0:334.2-1.el10_0 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.
  - unaffected: `0:310.8-1.el8_10 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support.
  - unaffected: `0:264.3-1.el8_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service.
  - unaffected: `0:264.3-1.el8_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions.
  - unaffected: `0:264.3-1.el8_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service.
  - unaffected: `0:286.2-1.el8_8 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions.
  - unaffected: `0:286.2-1.el8_8 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:356.2-1.el9_8 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:356.2-1.el9_8 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions.
  - unaffected: `0:264.3-1.el9_0 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions.
  - unaffected: `0:286.3-1.el9_2 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.4 Extended Update Support.
  - unaffected: `0:311.3-1.el9_4 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.6 Extended Update Support.
  - unaffected: `0:334.3-1.el9_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 7.
  - No versions given
  - Other versions: unaffected
  - Package name: `cockpit`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from CNA (redhat) (used for this record)
- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from ADP (redhat-SADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.010, the 63rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 11 May 2026, 12:48 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-4802)
- 11 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-4802)

## Sources

- [CVE List: CVE-2026-4802](https://www.cve.org/CVERecord?id=CVE-2026-4802)
- [NVD: CVE-2026-4802](https://nvd.nist.gov/vuln/detail/CVE-2026-4802)

### References from the CNA

- <https://access.redhat.com/errata/RHSA-2026:21390> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21392> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21394> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21395> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21468> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21515> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21516> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21647> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21676> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:21700> (vendor-advisory, redhat)
- <https://access.redhat.com/security/cve/CVE-2026-4802> (vdb-entry, redhat)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2451155> (issue-tracking, redhat)
- <https://github.com/cockpit-project/cockpit/blob/e204cd130/pkg/systemd/logsJournal.jsx#L206-L210>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-4802>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-4802/>. Everything for agents: <https://agentprime.io/llms.txt>.
