vulnerability

Alma Linux: CVE-2026-4631: Critical: cockpit: Unauthenticated remote code execution due to SSH command-line argument injection (ALSA-2026-7384)

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
Apr 10, 2026
Added
Apr 16, 2026
Modified
Apr 20, 2026

Description

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.

Solutions

alma-upgrade-cockpitalma-upgrade-cockpit-bridgealma-upgrade-cockpit-docalma-upgrade-cockpit-packagekitalma-upgrade-cockpit-storagedalma-upgrade-cockpit-systemalma-upgrade-cockpit-wsalma-upgrade-cockpit-ws-selinux
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.