Back to overview

CVE-2026-4631

CRITICAL
9.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-4631
State
PUBLISHED
Assigner
redhat
Reserved
2026-03-23 08:25 UTC
Published
2026-04-07 16:30 UTC
Last updated
2026-05-14 16:04 UTC
Primary CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Co…
Vendor / Product
Red Hat / Red Hat Enterprise Linux 10
Sources
cve.org  ·  NVD

Severity & Metrics

9.8 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
total
Affected products (7)
VendorProductPlatformVersions
Red Hat Red Hat Enterprise Linux 10 0:344-3.el10_1 < *
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:334.1-3.el10_0 < *
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9 0:344-2.el9_7 < *
Red Hat Red Hat Enterprise Linux 9 0:344-2.el9_7 < *
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:334.2-2.el9_6 < *
Weakness (CWE)
CWESourceDescription
CWE-78 cna Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.8 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Back to overview