CVE-2026-4631CWE-78command-injection

CVE-2026-4631

Critical · published April 7, 2026

CVSS v3.1
9.8
EPSS
9%
Percentile
95.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.09216 · 95.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-07T21:16Z
References (17)
EPSS history
Timeline
  • 07 APR 16:30Z
    Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
    cvelistv5