OS Command Injection Affecting cockpit-ws-selinux package, versions <0:356.2-1.el10_2


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.02% (64th 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-ALMALINUX10-COCKPITWSSELINUX-17097958
  • published30 May 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

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

How to fix?

Upgrade AlmaLinux:10 cockpit-ws-selinux to version 0:356.2-1.el10_2 or higher.
This issue was patched in ALSA-2026:21676.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cockpit-ws-selinux package and not the cockpit-ws-selinux package as distributed by AlmaLinux. See How to fix? for AlmaLinux:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1