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.
CVE-2026-4631
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-04-07. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 96.2%
- KEV
- Not listed
Published
April 7, 2026
Last Modified
July 15, 2026
Advisory Details (7)
Auto-updated Jul 16, 2026Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2026:7383Affected: Red Hat Enterprise Linux 9.6 Extended Update Support.
https://access.redhat.com/errata/RHSA-2026:7382Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2026:7381oss-security - CVE-2026-4631 [cockpit] Unauthenticated remote code execution due to SSH command-line argument injection
http://www.openwall.com/lists/oss-security/2026/04/10/52450246 – (CVE-2026-4631) CVE-2026-4631 cockpit: Cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
https://bugzilla.redhat.com/show_bug.cgi?id=2450246Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2026:7384Vendor Advisories for CVE-2026-4631(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:7382Red Hat Product SecurityCritical
Red Hat Security Advisory: cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- RHSA-2026:7384Red Hat Product SecurityCritical
Red Hat Security Advisory: cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- RHSA-2026:7383Red Hat Product SecurityCritical
Red Hat Security Advisory: cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
- RHSA-2026:7381Red Hat Product SecurityCritical
Red Hat Security Advisory: cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | cockpit-0:334.1-3.el10_0 | 2026-04-10 | redhat |
| redhat | cockpit-0:344-2.el9_7 | 2026-04-10 | redhat |
| redhat | cockpit-0:334.2-2.el9_6 | 2026-04-10 | redhat |
| redhat | cockpit-0:344-3.el10_1 | 2026-04-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 126 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 04:41 UTCEG score recompute
- 2026-06-12 04:41 UTCVendor advisory
- 2026-06-12 04:41 UTCGHSA enrichment
- 2026-06-12 01:01 UTCEG score recompute
- 2026-06-12 01:01 UTCVendor advisory
- 2026-06-12 01:01 UTCGHSA enrichment
- 2026-06-11 21:21 UTCEG score recompute
- 2026-06-11 21:21 UTCVendor advisory
- 2026-06-11 21:21 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 20:14 UTCEG score recompute
- 2026-06-10 20:14 UTCVendor advisory
- 2026-06-10 20:14 UTCGHSA enrichment
- 2026-06-10 16:34 UTCEG score recompute
- 2026-06-10 16:34 UTCVendor advisory
- 2026-06-10 16:34 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 12:53 UTCEG score recompute
- 2026-06-10 12:53 UTCVendor advisory
- 2026-06-10 12:53 UTCGHSA enrichment
- 2026-06-10 08:36 UTCEG score recompute
- 2026-06-10 08:36 UTCVendor advisory
- 2026-06-10 08:36 UTCGHSA enrichment
- 2026-06-10 04:56 UTCEG score recompute
- 2026-06-10 04:56 UTCVendor advisory
- 2026-06-10 04:56 UTCGHSA enrichment
- 2026-06-10 01:09 UTCEG score recompute
- 2026-06-10 01:09 UTCVendor advisory
- 2026-06-10 01:09 UTCGHSA enrichment
- 2026-06-09 17:32 UTCEG score recompute
- 2026-06-09 17:32 UTCVendor advisory
- 2026-06-09 17:32 UTCGHSA enrichment
- 2026-06-09 13:50 UTCEG score recompute
- 2026-06-09 13:50 UTCVendor advisory
- 2026-06-09 13:50 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 12:26 UTCEG score recompute
- 2026-06-08 12:26 UTCVendor advisory
- 2026-06-08 12:26 UTCGHSA enrichment
- 2026-06-08 08:41 UTCEG score recompute
- 2026-06-08 08:41 UTCVendor advisory
- 2026-06-08 08:41 UTCGHSA enrichment
- 2026-06-08 05:00 UTCEG score recompute
- 2026-06-08 05:00 UTCVendor advisory
- 2026-06-08 05:00 UTCGHSA enrichment
- 2026-06-08 01:21 UTCEG score recompute
- 2026-06-08 01:21 UTCVendor advisory
- 2026-06-08 01:21 UTCGHSA enrichment
- 2026-06-07 21:41 UTCEG score recompute
- 2026-06-07 21:41 UTCVendor advisory
- 2026-06-07 21:41 UTCGHSA enrichment
- 2026-06-07 17:58 UTCEG score recompute
- 2026-06-07 17:58 UTCVendor advisory
- 2026-06-07 17:58 UTCGHSA enrichment
- 2026-06-07 14:16 UTCEG score recompute
- 2026-06-07 14:16 UTCVendor advisory
- 2026-06-07 14:16 UTCGHSA enrichment
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-52572First seen May 21, 2026
Cockpit 359 - RCE
Open source ↗ - Nucleihttp/cves/2026/CVE-2026-4631.yamlFirst seen Jan 1, 2026
Cockpit Web Console < 360 - Remote Code Execution
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2026-4631?
When was CVE-2026-4631 disclosed?
Is CVE-2026-4631 actively exploited?
What is the CVSS score of CVE-2026-4631?
How do I remediate CVE-2026-4631?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-4631
Is Your Infrastructure Affected by CVE-2026-4631?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.