CVE-2026-4631 Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
12 packages: 10 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/cockpit(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/cockpit(Debian 13) | < 337-1+deb13u1; = 337-1 | 337-1+deb13u1 | Fixed |
| debian/cockpit(Debian 14) | < 360-1; = 337-1; = 338-1; = 339-1 +25 more | 360-1 | Fixed |
| redhat enterprise linux | < 0:344-2.el9_7; < 0:344-3.el10_1; < 0:356.1-1.el9_8; < 0:356.1-1.el10_2 +2 more | 0:344-2.el9_7, 0:344-3.el10_1, 0:356.1-1.el9_8, 0:356.1-1.el10_2 | Fixed |
| redhat enterprise linux eus | < 0:334.1-3.el10_0 | 0:334.1-3.el10_0 | Fixed |
| redhat rhel eus | < 0:334.2-2.el9_6 | 0:334.2-2.el9_6 | Fixed |
| redhat/cockpit(Red Hat enterprise_linux 10.1) | < 344-3.el10_1 | 344-3.el10_1 | Fixed |
| redhat/cockpit(Red Hat enterprise_linux 10.2) | < 356.1-1.el10_2 | 356.1-1.el10_2 | Fixed |
| redhat/cockpit(Red Hat enterprise_linux 9) | < 344-2.el9_7; < 356.1-1.el9_8 | 344-2.el9_7, 356.1-1.el9_8 | Fixed |
| redhat/cockpit(Red Hat enterprise_linux_eus 10.0) | < 334.1-3.el10_0 | 334.1-3.el10_0 | Fixed |
| redhat/cockpit(Red Hat rhel_eus 9.6) | < 334.2-2.el9_6 | 334.2-2.el9_6 | Fixed |
| redhat rhel els | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | < 0:344-3.el10_1 | 0:344-3.el10_1 |
| redhat enterprise linux | < 0:356.1-1.el10_2 | 0:356.1-1.el10_2 |
| redhat enterprise linux eus | < 0:334.1-3.el10_0 | 0:334.1-3.el10_0 |
| redhat enterprise linux | < 0:356.1-1.el9_8 | 0:356.1-1.el9_8 |
| redhat enterprise linux | < 0:344-2.el9_7 | 0:344-2.el9_7 |
| redhat rhel eus | < 0:334.2-2.el9_6 | 0:334.2-2.el9_6 |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| debian/cockpit(Debian:13) | < 337-1+deb13u1 | 337-1+deb13u1 |
| debian/cockpit(Debian:13) | = 337-1 | No fix listed |
| debian/cockpit(Debian:14) | < 360-1 | 360-1 |
| debian/cockpit(Debian:14) | = 337-1 | No fix listed |
| debian/cockpit(Debian:14) | = 338-1 | No fix listed |
| debian/cockpit(Debian:14) | = 339-1 | No fix listed |
| debian/cockpit(Debian:14) | = 340-1 | No fix listed |
| debian/cockpit(Debian:14) | = 341.1-1 | No fix listed |
| debian/cockpit(Debian:14) | = 342-1 | No fix listed |
| debian/cockpit(Debian:14) | = 343-1 | No fix listed |
| debian/cockpit(Debian:14) | = 345-1 | No fix listed |
| debian/cockpit(Debian:14) | = 345-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 346-1 | No fix listed |
| debian/cockpit(Debian:14) | = 346-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 348-1 | No fix listed |
| debian/cockpit(Debian:14) | = 348-1~bpo13+1 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cockpit(Debian:14) | = 350-1 | No fix listed |
| debian/cockpit(Debian:14) | = 350-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 352-1 | No fix listed |
| debian/cockpit(Debian:14) | = 352-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 353.1-1 | No fix listed |
| debian/cockpit(Debian:14) | = 353.1-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 354-1 | No fix listed |
| debian/cockpit(Debian:14) | = 354-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 355-1 | No fix listed |
| debian/cockpit(Debian:14) | = 355-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 356-1 | No fix listed |
| debian/cockpit(Debian:14) | = 356-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 358-1 | No fix listed |
| debian/cockpit(Debian:14) | = 358-1~bpo13+1 | No fix listed |
| debian/cockpit(Debian:14) | = 360-1~bpo13+1 | No fix listed |
| redhat/cockpit(Red Hat:enterprise_linux:10.1) | < 344-3.el10_1 | 344-3.el10_1 |
| redhat/cockpit(Red Hat:enterprise_linux:10.2) | < 356.1-1.el10_2 | 356.1-1.el10_2 |
| redhat/cockpit(Red Hat:enterprise_linux_eus:10.0) | < 334.1-3.el10_0 | 334.1-3.el10_0 |
| redhat/cockpit(Red Hat:enterprise_linux:9) | < 356.1-1.el9_8 | 356.1-1.el9_8 |
| redhat/cockpit(Red Hat:enterprise_linux:9) | < 344-2.el9_7 | 344-2.el9_7 |
| redhat/cockpit(Red Hat:rhel_eus:9.6) | < 334.2-2.el9_6 | 334.2-2.el9_6 |
| ubuntu/cockpit(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2026-4631 vendor-advisory
- bugs.debian.org issue-tracking
- RHBA-2026:21387 patch vendor-advisory
- RHBA-2026:21388 patch vendor-advisory
- RHSA-2026:7381 patch vendor-advisory
- RHSA-2026:7382 patch vendor-advisory
- RHSA-2026:7383 patch vendor-advisory
- RHSA-2026:7384 patch vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2450246 issue-tracking
- github.com
- www.openwall.com
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-19814 third-party-advisory