cve.bz

CVE-2026-4802 OS Command Injection

8.0 highEPSS 1.0%Fix available

High (8.0). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:356.2-1.el10_2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:334.2-1.el10_0
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:310.8-1.el8_10
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:264.3-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 0:264.3-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 0:264.3-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service: fixed in 0:286.2-1.el8_8
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: fixed in 0:286.2-1.el8_8
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-4802 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4802?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4802?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4802 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:356.2-1.el10_2
Red Hat Enterprise Linux 10.0 Extended Update Support0:334.2-1.el10_0
Red Hat Enterprise Linux 80:310.8-1.el8_10
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:264.3-1.el8_6
Red Hat Enterprise Linux 8.6 Telecommunications Update Service0:264.3-1.el8_6
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:264.3-1.el8_6
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:286.2-1.el8_8
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:286.2-1.el8_8
Red Hat Enterprise Linux 90:356.2-1.el9_8
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:264.3-1.el9_0
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:286.3-1.el9_2
Red Hat Enterprise Linux 9.4 Extended Update Support0:311.3-1.el9_4
Red Hat Enterprise Linux 9.6 Extended Update Support0:334.3-1.el9_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cockpitno fix listedDEBIAN-CVE-2026-4802
Debian13cockpit337-1+deb13u2DEBIAN-CVE-2026-4802
Debian14cockpit362-1DEBIAN-CVE-2026-4802
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morecockpitno fix listedUBUNTU-CVE-2026-4802
Red Hatenterprise_linux:8::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:310.8-1.el8_10RHSA-2026:21700
Red Hatenterprise_linux:9::appstreamcockpit-storaged, cockpit-packagekit0:356.2-1.el9_8RHSA-2026:21468
Red Hatenterprise_linux:9::baseoscockpit, cockpit-ws, cockpit-doc and 5 more0:356.2-1.el9_8RHSA-2026:21468
Red Hatenterprise_linux:10.2cockpit, cockpit-ws, cockpit-doc and 7 more0:356.2-1.el10_2RHSA-2026:21676
Red Hatenterprise_linux_eus:10.0cockpit, cockpit-ws, cockpit-doc and 6 more0:334.2-1.el10_0RHSA-2026:21390
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:264.3-1.el8_6RHSA-2026:21516
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:286.2-1.el8_8RHSA-2026:21515
Red Hatrhel_e4s:9.0::appstreamcockpit-pcp, cockpit-storaged, cockpit-debuginfo and 2 more0:264.3-1.el9_0RHSA-2026:21395
Red Hatrhel_e4s:9.0::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:264.3-1.el9_0RHSA-2026:21395
Red Hatrhel_e4s:9.2::appstreamcockpit-pcp, cockpit-storaged, cockpit-debuginfo and 2 more0:286.3-1.el9_2RHSA-2026:21394
Red Hatrhel_e4s:9.2::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:286.3-1.el9_2RHSA-2026:21394
Red Hatrhel_eus:9.4::appstreamcockpit-pcp, cockpit-storaged, cockpit-debuginfo and 2 more0:311.3-1.el9_4RHSA-2026:21647
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.5cockpit298-150500.3.12.1SUSE-SU-2026:2363-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit364-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-machines354-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-packages5-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-podman128-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-repos4.8-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-subscriptions16.2-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Micro 6.2cockpit364-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-machines354-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-podman128-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-repos4.8-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-subscriptions16.2-160000.1.1SUSE-SU-2026:22770-1
openSUSELeap 16.0cockpit354-160000.4.1openSUSE-SU-2026:21208-1
openSUSELeap 16.0cockpit364-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-machines354-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-packages5-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-podman128-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-repos4.8-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-subscriptions16.2-160000.1.1openSUSE-SU-2026:21399-1
openSUSETumbleweedcockpit361-1.1openSUSE-SU-2026:10819-1
AlmaLinux8cockpit, cockpit-ws, cockpit-doc and 2 more310.8-1.el8_10ALSA-2026:21700
AlmaLinux9cockpit, cockpit-ws, cockpit-doc and 5 more356.2-1.el9_8ALSA-2026:21468
AlmaLinux10cockpit-doc, cockpit-bridge, cockpit-system and 2 more356.2-1.el10_2ALSA-2026:21676
Rocky Linux8cockpit0:310.8-1.el8_10RLSA-2026:21700
Rocky Linux9cockpit0:356.2-1.el9_8.rocky.0.1RLSA-2026:21468
Rocky Linux10cockpit0:356.2-1.el10_2.rocky.0.1RLSA-2026:21676

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10cockpit-0:356.2-1.el10_2Fixed 2026-05-28RHSA-2026:21676
Red Hat Enterprise Linux 10.0 Extended Update Supportcockpit-0:334.2-1.el10_0Fixed 2026-05-27RHSA-2026:21390
Red Hat Enterprise Linux 8cockpit-0:310.8-1.el8_10Fixed 2026-05-28RHSA-2026:21700
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportcockpit-0:264.3-1.el8_6Fixed 2026-05-27RHSA-2026:21516
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicecockpit-0:264.3-1.el8_6Fixed 2026-05-27RHSA-2026:21516
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionscockpit-0:264.3-1.el8_6Fixed 2026-05-27RHSA-2026:21516
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecockpit-0:286.2-1.el8_8Fixed 2026-05-27RHSA-2026:21515
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionscockpit-0:286.2-1.el8_8Fixed 2026-05-27RHSA-2026:21515
Red Hat Enterprise Linux 9cockpit-0:356.2-1.el9_8Fixed 2026-05-27RHSA-2026:21468
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionscockpit-0:264.3-1.el9_0Fixed 2026-05-27RHSA-2026:21395
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionscockpit-0:286.3-1.el9_2Fixed 2026-05-27RHSA-2026:21394
Red Hat Enterprise Linux 9.4 Extended Update Supportcockpit-0:311.3-1.el9_4Fixed 2026-05-28RHSA-2026:21647
Red Hat Enterprise Linux 9.6 Extended Update Supportcockpit-0:334.3-1.el9_6Fixed 2026-05-28RHSA-2026:21392
Red Hat Enterprise Linux 7cockpitNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4802.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • hakaioffsec/CVE-2026-4802 Harbor Check: matches CVE 4 stars, Python, created
    Arbitrary command execution on Cockpit

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON