CVE-2026-4631Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:344-3.el10_1 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:334.1-3.el10_0 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support redhat:rhel_eus | from 0:334.2-2.el9_6 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:344-3.el10_1 not affected | CISA ADP |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:334.1-3.el10_0 not affected | CISA ADP |
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support redhat:rhel_eus | from 0:334.2-2.el9_6 not affected | CISA ADP |
References
- https://access.redhat.com/errata/RHBA-2026:21387vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHBA-2026:21388vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:7381vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:7382vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:7383vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:7384vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-4631vdb-entry, x-refsource-redhat
- https://bugzilla.redhat.com/show_bug.cgi?id=2450246issue-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
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.