CVE-2026-4631
High PUBLISHEDCockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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 Published
- Apr 07, 2026
- Exploitation Reported
- Jul 08, 2026
- CVSS
- 9.8 Critical
- EPSS
- 14.2%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Red Hat |
Red Hat Enterprise Linux AppStream EUS (v. 10.0)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux AppStream (v. 10)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux AppStream EUS (v.9.6)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux AppStream (v. 9)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux BaseOS EUS (v. 10.0)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux BaseOS (v. 10)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux BaseOS EUS (v.9.6)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux BaseOS (v. 9)
|
All versions (default: affected) |
Affected |
| Red Hat |
Red Hat Enterprise Linux 7
|
All versions (default: unaffected) |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 8
|
All versions (default: unaffected) |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 10
|
0:344-3.el10_1 to < * |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 10.0 Extended Update Support
|
0:334.1-3.el10_0 to < * |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 9
|
0:344-2.el9_7 to < * |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 9
|
0:344-2.el9_7 to < * |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 9.6 Extended Update Support
|
0:334.2-2.el9_6 to < * |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 7
|
All versions (default: unaffected) |
Unaffected |
| Red Hat |
Red Hat Enterprise Linux 8
|
All versions (default: unaffected) |
Unaffected |
CVE References
- RHSA-2026:7381 access.redhat.com · Vendor Advisory https://access.redhat.com/errata/RHSA-2026:7381
- RHSA-2026:7382 access.redhat.com · Vendor Advisory https://access.redhat.com/errata/RHSA-2026:7382
- RHSA-2026:7383 access.redhat.com · Vendor Advisory https://access.redhat.com/errata/RHSA-2026:7383
- RHSA-2026:7384 access.redhat.com · Vendor Advisory https://access.redhat.com/errata/RHSA-2026:7384
- RHBZ#2450246 bugzilla.redhat.com · Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=2450246
Show 1 more reference
- VDB Entry — access.redhat.com access.redhat.com · VDB Entry https://access.redhat.com/security/cve/CVE-2026-4631
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2026-07-08 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4631.yaml | Jun 01, 2026 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users via the Pro API.
Learn About Virtual PatchesCVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2026-07-08 00:00:00 UTC · The Shadowserver
Proof of concept available
Recorded 2026-06-12 14:21:13 UTC · Nuclei Templates
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4631.yaml | Jun 01, 2026 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC 1 day ago00:00 UTC · 1 day ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
14:21 UTC 27 days ago14:21 UTC · 27 days ago
Public PoC available
Public proof-of-concept code published
-
15:34 UTC about 1 month ago15:34 UTC · about 1 month ago
Nuclei template available
Scanner coverage available
-
16:30 UTC 3 months ago16:30 UTC · 3 months ago
CVE published
Vulnerability disclosed publicly
-
08:25 UTC 4 months ago08:25 UTC · 4 months ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2026-4631
{
"cve_id": "CVE-2026-4631",
"title": "Cockpit: cockpit: unauthenticated remote code execution due to ssh command-li...",
"affected_vendor": "Red Hat",
"affected_product": "Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 9.8,
"epss_score": 0.142,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}