OS Command Injection Affecting cockpit-packagekit package, versions <0:344-2.0.1.el9_7


Severity

Recommended
0.0
critical
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.09% (26th 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-ORACLE9-COCKPITPACKAGEKIT-16032465
  • published14 Apr 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

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

How to fix?

Upgrade Oracle:9 cockpit-packagekit to version 0:344-2.0.1.el9_7 or higher.
This issue was patched in ELSA-2026-7384.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cockpit-packagekit package and not the cockpit-packagekit package as distributed by Oracle. See How to fix? for Oracle:9 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