Exploit database

Vulnerability

CVE-2026-4802

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

Vulnerability details

Score
8.0
Severity
high

CVSS 3.1 · redhat

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

1 source
hakaioffsec/cve-2026-4802
GH-5a21dd9c85352f1a0681a3fb608afda9GitHubUnofficial GitHub sourcePreferred

Arbitrary command execution on Cockpit

2026-05-114 files · 4 stars