PoC Monitor
← All CVEs
CVE-2026-4802published 11 May 2026 12:48 UTCData: JSON · API

Red Hat Enterprise Linux 10

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.

First public PoC 8 hafter publication · 11 May 2026
Public PoCs11 on GitHub
CVSS8.0high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

                  Red Hat Red Hat Enterprise Linux 9

                    Fixed in 0:356.2-1.el9_8

                    Red Hat Red Hat Enterprise Linux 9

                      Fixed in 0:356.2-1.el9_8

                      Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

                        Fixed in 0:264.3-1.el9_0

                        Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

                          Fixed in 0:286.3-1.el9_2

                          Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support

                            Fixed in 0:311.3-1.el9_4

                            Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support

                              Fixed in 0:334.3-1.el9_6

                              Mitigation

                              Upgrade Red Hat Enterprise Linux 10 to 0:356.2-1.el10_2 or later.

                              Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:334.2-1.el10_0 or later.

                              Upgrade Red Hat Enterprise Linux 8 to 0:310.8-1.el8_10 or later.

                              Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:264.3-1.el8_6 or later.

                              Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:264.3-1.el8_6 or later.

                              Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:264.3-1.el8_6 or later.

                              Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:286.2-1.el8_8 or later.

                              Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:286.2-1.el8_8 or later.

                              Upgrade Red Hat Enterprise Linux 9 to 0:356.2-1.el9_8 or later.

                              Upgrade Red Hat Enterprise Linux 9 to 0:356.2-1.el9_8 or later.

                              Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:264.3-1.el9_0 or later.

                              Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:286.3-1.el9_2 or later.

                              Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:311.3-1.el9_4 or later.

                              Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:334.3-1.el9_6 or later.

                              Workaround

                              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

                              References

                              5 more

                              Timeline

                              Days relative to CVE publication
                              -2t=0+2+4+6+8CVE published11 May 2026 · t = 0First public PoC11 May 2026 · t+8h

                              First public PoC 8 h after publication; not in CISA KEV. First PoC: hakaioffsec/CVE-2026-4802 (created 11 May 2026, found by us: backfilled).

                              PoC repositories

                              Found on GitHub.

                              1 PoCs

                              PoCs 1
                              RepositoryCreatedStarsAssessment
                              hakaioffsec/CVE-2026-4802 11 May 2026 +8 h 4 PoC

                              Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

                              PoC characteristics

                              What to hunt for in your logs · from 1 PoC repo

                              GET /cockpit/login

                              Key headers
                              Authorization: Basic {var}
                              Ports
                              8080, 9090
                              Seen in
                              1 repo: hakaioffsec/CVE-2026-4802
                              Evidence
                              hakaioffsec/CVE-2026-4802/poc.py:32

                              Regex

                              Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

                              GET /cockpit/login
                              (?i)^/cockpit/login(?:[?#].*)?$

                              Suricata

                              Template generated from PoC characteristics. Review before deploying.

                              GET /cockpit/login
                              alert http any any -> $HOME_NET [8080,9090] (msg:"GG PoC-Monitor CVE-2026-4802 Red Hat Red Hat Enterprise Linux 10 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cockpit/login"; http.header; content:"Authorization: Basic "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-4802; classtype:web-application-attack; sid:9832307; rev:1;)

                              Sigma

                              Template generated from PoC characteristics. Review before deploying.

                              GET /cockpit/login
                              title: Red Hat Red Hat Enterprise Linux 10 exploit attempt (CVE-2026-4802)
                              id: gg-pocmon-cve-2026-4802-9832307
                              status: experimental
                              description: Request pattern taken from public PoCs for CVE-2026-4802. Generated, not reviewed.
                              references:
                                - https://poc.griffinguard.io/cve/CVE-2026-4802
                              logsource:
                                category: webserver
                              detection:
                                selection:
                                  cs-method: GET
                                  cs-uri-stem|contains|all:
                                    - '/cockpit/login'
                                condition: selection
                              falsepositives:
                                - Authorized vulnerability scanning
                              level: high
                              tags:
                                - attack.initial_access
                                - attack.t1190
                                - cve.2026.4802