CVE-2026-4631
CRITICAL 9.8CVSS 3.1Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
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.
- Published
- 7 Apr 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-78
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat-SADP | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://github.com/cockpit-project/cockpit | cockpit | >= 327, < 360 | 360 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:enterprise_linux:10.1 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:enterprise_linux:10.2 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:enterprise_linux_eus:10.0 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/a:redhat:rhel_eus:9.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/a:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/a:redhat:rhel_eus:9.6 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cockpitcpe:/o:redhat:enterprise_linux:7 |
References
- https://access.redhat.com/errata/RHBA-2026:21387 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHBA-2026:21388 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7381 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7382 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7383 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7384 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4631 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2450246 · issue-tracking, x_refsource_REDHAT
- https://github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427
- http://www.openwall.com/lists/oss-security/2026/04/10/5
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.json · x_sadp-csaf-vex
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Apr 2026)