CVE-2026-4631
Critical 9.8No known exploitationPublic exploitFix status unknownCockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 98% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-78
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:344-3.el10_1 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:356.1-1.el10_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support (unaffected) | 0:334.1-3.el10_0 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:344-2.el9_7 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:344-2.el9_7 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:356.1-1.el9_8 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:356.1-1.el9_8 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support (unaffected) | 0:334.2-2.el9_6 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHBA-2026:21387 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHBA-2026:21388 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:7381 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:7382 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:7383 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:7384 (opens in a new tab)vendor-advisory, x_refsource_redhat
- http://www.openwall.com/lists/oss-security/2026/04/10/5 (opens in a new tab)
- https://access.redhat.com/security/cve/CVE-2026-4631 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2450246 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427 (opens in a new tab)
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.json (opens in a new tab)x_sadp-csaf-vex
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.