RCE in Red Hat Enterprise Linux 10
CVE-2026-4631
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.142 (96.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Red Hat Enterprise Linux 10 — versions 0:344-3.el10_1
- Red Hat Enterprise Linux 10.0 Extended Update Support — versions 0:334.1-3.el10_0
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9 — versions 0:344-2.el9_7
- Red Hat Enterprise Linux 9.6 Extended Update Support — versions 0:334.2-2.el9_6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking)
- af854a3a-2127-422b-91ae-364da2661108
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- secalert@redhat.com
Frequently asked questions
- What is CVE-2026-4631?
- CVE-2026-4631 is a critical-severity vulnerability in Red Hat Enterprise Linux 10, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-04-07.
- How severe is CVE-2026-4631?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2026-4631 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.