CVE-2026-4631: Red Hat Enterprise Linux 10 cockpit · OS Command Injection
Affects Red Hat Enterprise Linux 10 cockpitSource CVE Database V5
Public exploit available (Exploit-DB) · 15% EPSS · CVSS 9.8 Critical : upgrade the Red Hat redhat/cockpit package to 10.0.1 or 9.6.1 as a priority.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 15.4% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.0.1, 9.6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 7 Apr 2026
Detectable: evidence found.
nuclei template: Cockpit Web Console < 360 - Remote Code Execution
Weaponized: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by Red Hat, Inc.
, 15 days before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, 16 minutes after disclosure
First Exploit-DB entry (opens in a new tab)
Cockpit 359 - RCE
, 44 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade the Red Hat redhat/cockpit package to 10.0.1 or 9.6.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Red Hatredhat/cockpitpkg:rpm/redhat/cockpitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released official security updates for Cockpit that address this vulnerability. Users should apply the updates provided in advisories RHSA-2026:7381 and RHSA-2026:7382 as soon as possible. Before applying these updates, ensure all previously released errata relevant to the system have been applied. Refer to Red Hat's guidance at https://access.redhat.com/articles/11258 for update instructions. No other mitigation or workaround is indicated by the vendor advisory.
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.
References
- access.redhat.com/errata/RHSA-2026:7381 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7382 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7383 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7384 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-4631 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2450246 (opens in a new tab)
- openwall.com/lists/oss-security/2026/04/10/5 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.json (opens in a new tab)
- github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427 (opens in a new tab)
- access.redhat.com/errata/RHBA-2026:21387 (opens in a new tab)
- access.redhat.com/errata/RHBA-2026:21388 (opens in a new tab)