CVE-2026-4631
Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Updated
- CVSS 3.1
- 9.8 CRITICAL
- EPSS
- 15.5% (97th pct)
- CISA KEV
- Not listed
- Published
- 2026-04-07
- Weakness
- CWE-78
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.
Key Findings
as of 2026-11-12- Its current EPSS score (15.5%) is higher than that of 30% of CISA KEV entries.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator Affected Products
| Vendor | Product | Affected versions |
|---|---|---|
| Red Hat | Red Hat Red Hat Enterprise Linux 10 | 0:344-3.el10_1 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 10 | 0:356.1-1.el10_2 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support | 0:334.1-3.el10_0 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 9 | 0:356.1-1.el9_8 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 9 | 0:344-2.el9_7 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 9 | 0:356.1-1.el9_8 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 9 | 0:344-2.el9_7 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support | 0:334.2-2.el9_6 to <* (unaffected) |
| Red Hat | Red Hat Red Hat Enterprise Linux 7 | - |
| Red Hat | Red Hat Red Hat Enterprise Linux 8 | - |
References
10 linksVendor advisories
Vulnerability databases
Issue trackers
Other references
Record Details
- Published
- 2026-04-07
- Last updated
- 2026-11-04
- Assigner (CNA)
- redhat
- Credited to
- Red Hat would like to thank Florian Kohnhäuser for reporting this issue.
More from Red Hat
Samba: remote code execution in samr
Samba: samba: remote code execution in printing subsystem via unescaped job description
Keylime: keylime: authentication bypass allows unauthorized administrative operations due to missing client-side tls authentication
Keycloak-services: keycloak-services: unauthenticated account takeover via reset-credentials flow bypass
CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). Alert titles and links from CISA cybersecurity alerts. This site is not affiliated with or endorsed by MITRE, NVD, CISA, or FIRST.