Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | 344-3.el10_1 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | 356.1-1.el10_2 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | — | 334.1-3.el10_0 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 356.1-1.el9_8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 344-2.el9_7 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 356.1-1.el9_8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 344-2.el9_7 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | — | 334.2-2.el9_6 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in 344-3.el10_1 Patch available CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in 356.1-1.el10_2 Patch available CNA
- Red Hat Enterprise Linux 10.0 Extended Update Support VendorRed Hat Affected — Fixed in 334.1-3.el10_0 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 356.1-1.el9_8 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 344-2.el9_7 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 356.1-1.el9_8 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 344-2.el9_7 Patch available CNA
- Red Hat Enterprise Linux 9.6 Extended Update Support VendorRed Hat Affected — Fixed in 334.2-2.el9_6 Patch available CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE names CNA · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/o:redhat:enterprise_linux:10.1 | 10.1 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:10.2 | 10.2 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux_eus:10.0 | 10.0 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::appstream | 9 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:9::baseos | 9 | — | Red Hat |
| cpe:/a:redhat:rhel_eus:9.6::appstream | 9.6 | — | Red Hat |
| cpe:/o:redhat:rhel_eus:9.6::baseos | 9.6 | — | Red Hat |
| cpe:/o:redhat:rhel_els:7 | 7 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:8 | 8 | — | Red Hat |
- cpe:/o:redhat:enterprise_linux:10.1 Versions 10.1 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:10.2 Versions 10.2 — ·Red Hat
- cpe:/o:redhat:enterprise_linux_eus:10.0 Versions 10.0 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::appstream Versions 9 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:9::baseos Versions 9 — ·Red Hat
- cpe:/a:redhat:rhel_eus:9.6::appstream Versions 9.6 — ·Red Hat
- cpe:/o:redhat:rhel_eus:9.6::baseos Versions 9.6 — ·Red Hat
- cpe:/o:redhat:rhel_els:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:8 Versions 8 — ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2026:7382 Released 2026-04-10 · Red Hat rating Criticalcockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- Red Hat Enterprise Linux AppStream EUS (v.9.6) cockpit-packagekit-334.2-2.el9_6, cockpit-storaged-334.2-2.el9_6
- Red Hat Enterprise Linux BaseOS EUS (v.9.6) cockpit-334.2-2.el9_6, cockpit-bridge-334.2-2.el9_6, cockpit-doc-334.2-2.el9_6 +2
- RHSA-2026:7384 Released 2026-04-10 · Red Hat rating Criticalcockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- Red Hat Enterprise Linux AppStream (v. 9) cockpit-packagekit-344-2.el9_7, cockpit-storaged-344-2.el9_7
- Red Hat Enterprise Linux BaseOS (v. 9) cockpit-344-2.el9_7, cockpit-bridge-344-2.el9_7, cockpit-doc-344-2.el9_7 +3
- RHSA-2026:7383 Released 2026-04-10 · Red Hat rating Criticalcockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- Red Hat Enterprise Linux AppStream (v. 10) cockpit-packagekit-344-3.el10_1, cockpit-storaged-344-3.el10_1
- Red Hat Enterprise Linux BaseOS (v. 10) cockpit-344-3.el10_1, cockpit-bridge-344-3.el10_1, cockpit-doc-344-3.el10_1 +3
Show 1 more Red Hat advisories
- RHSA-2026:7381 Released 2026-04-10 · Red Hat rating Criticalcockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) cockpit-packagekit-334.1-3.el10_0, cockpit-storaged-334.1-3.el10_0
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) cockpit-334.1-3.el10_0, cockpit-bridge-334.1-3.el10_0, cockpit-doc-334.1-3.el10_0 +2
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:7383 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:7384 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:7381 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:7382 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:7383 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:7384 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:7381 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.6) | Fixed | RHSA-2026:7382 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-4631
- 2026-10-03 Alias added: GHSA-rq49-h582-83m7
- 2026-10-16 Fix available: cockpit@0:356.1-1.el10_2, cockpit@0:356.1-1.el9_8 · CNA
- 2026-10-16 2 new references · CNA
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-4631 · CVE Program
- CVE-2026-4631 · NVD
- FIRST EPSS
- GHSA-rq49-h582-83m7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-4631 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences