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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.