Command Injection Affecting cockpit-project/cockpit package, versions [,362)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-COCKPITPROJECTCOCKPIT-16642058
  • published12 May 2026
  • disclosed11 May 2026
  • creditGabriel Rodrigues

Introduced: 11 May 2026

CVE-2026-4802  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade cockpit-project/cockpit to version 362 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via unsanitized user-controlled parameters in crafted links within the system logs UI. An attacker can execute arbitrary commands on the host system by injecting shell metacharacters and command substitutions into these parameters.

CVSS Base Scores

version 4.0
version 3.1