OS Command Injection Affecting cockpit-system package, versions <354-160000.3.1


Severity

Recommended
0.0
critical
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.11% (87th 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 Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES1600-COCKPITSYSTEM-16120451
  • published22 Apr 2026
  • disclosed13 Apr 2026

Introduced: 13 Apr 2026

NewCVE-2026-4631  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 cockpit-system to version 354-160000.3.1 or higher.

NVD Description

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

Cockpit's remote login feature passes user-supplied hostnames and usernames from the web interface to the SSH client without validation or sanitization. An attacker with network access to the Cockpit web service can craft a single HTTP request to the login endpoint that injects malicious SSH options or shell commands, achieving code execution on the Cockpit host without valid credentials. The injection occurs during the authentication flow before any credential verification takes place, meaning no login is required to exploit the vulnerability.

CVSS Base Scores

version 3.1