{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-4802 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-4802 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 11 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-4802 and fix it if it is affected.\n\nWhat it is: CVE-2026-4802 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 11 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-4802 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4802/ (Markdown: https://insights.sbomify.com/CVE-2026-4802/index.md)","id":"CVE-2026-4802","markdown":"https://insights.sbomify.com/CVE-2026-4802/index.md","name":"CVE-2026-4802","record":{"aliases":["ALSA-2026:21468","ALSA-2026:21676","ALSA-2026:21700","CLSA-2026-1780323631","DEBIAN-CVE-2026-4802","GHSA-3wjm-5g86-c6p3","RHSA-2026:21390","RHSA-2026:21392","RHSA-2026:21394","RHSA-2026:21395","RHSA-2026:21468","RHSA-2026:21515","RHSA-2026:21516","RHSA-2026:21647","RHSA-2026:21676","RHSA-2026:21700","RLSA-2026:21468","RLSA-2026:21676","RLSA-2026:21700","SUSE-SU-2026:21872-1","UBUNTU-CVE-2026-4802","openSUSE-SU-2026:10819-1","openSUSE-SU-2026:21208-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cockpit web console","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary shell commands on the host by injecting metacharacters into system logs UI links, leading to full system compromise.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-05-11","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-11T20:18:53Z","kind":"github_poc","ref":"https://github.com/hakaioffsec/CVE-2026-4802","stars":4,"title":"Arbitrary command execution on Cockpit"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cockpit: cockpit: arbitrary command execution via crafted links in system logs ui","id":"CVE-2026-4802","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":142,"n_references":13,"next":{"headline":"Cross-site scripting in Royal Addons for Elementor – Addons and Templates Kit for Elementor","id":"CVE-2026-4803"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/almalinux/cockpit","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/almalinux/cockpit-bridge","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/almalinux/cockpit-doc","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/almalinux/cockpit-packagekit","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/almalinux/cockpit-storaged","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/almalinux/cockpit-system","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/almalinux/cockpit-ws","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:10","fixed":["356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws-selinux","purl":"pkg:rpm/almalinux/cockpit-ws-selinux","source":"ALSA-2026:21676"},{"ecosystem":"AlmaLinux:8","fixed":["310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/almalinux/cockpit","source":"ALSA-2026:21700"},{"ecosystem":"AlmaLinux:8","fixed":["310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/almalinux/cockpit-bridge","source":"ALSA-2026:21700"},{"ecosystem":"AlmaLinux:8","fixed":["310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/almalinux/cockpit-doc","source":"ALSA-2026:21700"},{"ecosystem":"AlmaLinux:8","fixed":["310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/almalinux/cockpit-system","source":"ALSA-2026:21700"},{"ecosystem":"AlmaLinux:8","fixed":["310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/almalinux/cockpit-ws","source":"ALSA-2026:21700"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/almalinux/cockpit","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/almalinux/cockpit-bridge","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/almalinux/cockpit-doc","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/almalinux/cockpit-packagekit","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/almalinux/cockpit-storaged","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/almalinux/cockpit-system","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/almalinux/cockpit-ws","source":"ALSA-2026:21468"},{"ecosystem":"AlmaLinux:9","fixed":["356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws-selinux","purl":"pkg:rpm/almalinux/cockpit-ws-selinux","source":"ALSA-2026:21468"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/redhat/cockpit","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/redhat/cockpit-bridge","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-debuginfo","purl":"pkg:rpm/redhat/cockpit-debuginfo","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-debugsource","purl":"pkg:rpm/redhat/cockpit-debugsource","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/redhat/cockpit-doc","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/redhat/cockpit-packagekit","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/redhat/cockpit-storaged","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/redhat/cockpit-system","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/redhat/cockpit-ws","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:356.2-1.el10_2"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws-selinux","purl":"pkg:rpm/redhat/cockpit-ws-selinux","source":"RHSA-2026:21676"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/redhat/cockpit","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/redhat/cockpit-bridge","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-debuginfo","purl":"pkg:rpm/redhat/cockpit-debuginfo","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-debugsource","purl":"pkg:rpm/redhat/cockpit-debugsource","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/redhat/cockpit-doc","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/redhat/cockpit-system","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:310.8-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/redhat/cockpit-ws","source":"RHSA-2026:21700"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/redhat/cockpit-packagekit","source":"RHSA-2026:21468"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:356.2-1.el9_8"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/redhat/cockpit-storaged","source":"RHSA-2026:21468"}],"prev":{"headline":"Cross-site scripting in Page Builder Gutenberg Blocks – CoBlocks","id":"CVE-2026-4801"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat Enterprise Linux 9.6 Extended Update Support"],"published":"2026-05-11","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Red Hat"]},"summary":"Remote attackers can execute arbitrary shell commands on the host by injecting metacharacters into system logs UI links, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2026-4802/"}