CVE-2026-4631: Cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Red Hat · Red Hat Enterprise Linux 10
Vendor fix available · Affected: Red Hat Enterprise Linux 10 · Exploitation: check available, not yet exploited
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 96% of scored CVEs
DescriptionCVE.org
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.
Affected products10
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Red Hat · Red Hat Enterprise Linux 10Versions not stated
- Red Hat · Red Hat Enterprise Linux 10Versions not stated
- Red Hat · Red Hat Enterprise Linux 10.0 Extended Update SupportVersions not stated
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 9Versions not stated
- Red Hat · Red Hat Enterprise Linux 9.6 Extended Update SupportVersions not stated
- Red Hat · Red Hat Enterprise Linux 7Versions not stated
- Red Hat · Red Hat Enterprise Linux 8Versions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
- CISA KEV
- Not listed
- Public check
- Cockpit Web Console < 360 - Remote Code Execution · nuclei template in projectdiscovery/nuclei-templates
- Vendor
- Red Hat
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-4631 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-78cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- access.redhat.com/security/cve/CVE-2026-4631access.redhat.com
- Issue trackerbugzilla.redhat.com
- github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gvgithub.com
- openwall.com/lists/oss-security/2026/04/10/5openwall.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.jsecurity.access.redhat.com