Critical severity9.8NVD Advisory· Published Apr 7, 2026· Updated Apr 10, 2026
CVE-2026-4631
CVE-2026-4631
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13- osv-coords13 versionspkg:rpm/almalinux/cockpitpkg:rpm/almalinux/cockpit-bridgepkg:rpm/almalinux/cockpit-docpkg:rpm/almalinux/cockpit-packagekitpkg:rpm/almalinux/cockpit-storagedpkg:rpm/almalinux/cockpit-systempkg:rpm/almalinux/cockpit-wspkg:rpm/almalinux/cockpit-ws-selinuxpkg:rpm/opensuse/cockpit&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/cockpit&distro=openSUSE%20Tumbleweedpkg:rpm/suse/cockpit&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/cockpit&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/cockpit&distro=SUSE%20Linux%20Micro%206.2
< 344-2.el9_7+ 12 more
- (no CPE)range: < 344-2.el9_7
- (no CPE)range: < 344-3.el10_1
- (no CPE)range: < 344-3.el10_1
- (no CPE)range: < 344-3.el10_1
- (no CPE)range: < 344-3.el10_1
- (no CPE)range: < 344-3.el10_1
- (no CPE)range: < 344-2.el9_7
- (no CPE)range: < 344-2.el9_7
- (no CPE)range: < 354-160000.3.1
- (no CPE)range: < 360-1.1
- (no CPE)range: < 354-160000.3.1
- (no CPE)range: < 354-160000.3.1
- (no CPE)range: < 354-160000.3.1
Patches
Vulnerability mechanics
References
7- www.openwall.com/lists/oss-security/2026/04/10/5nvd
- access.redhat.com/errata/RHSA-2026:7381nvd
- access.redhat.com/errata/RHSA-2026:7382nvd
- access.redhat.com/errata/RHSA-2026:7383nvd
- access.redhat.com/errata/RHSA-2026:7384nvd
- access.redhat.com/security/cve/CVE-2026-4631nvd
- bugzilla.redhat.com/show_bug.cginvd
News mentions
0No linked articles in our index yet.