CVE-2026-4631
CRITICAL
9.8
CVSS 3.1
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.
Metadata
Severity & Metrics
9.8
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Affected products (7)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | 0:344-3.el10_1 < * |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | — | 0:334.1-3.el10_0 < * |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | 0:344-2.el9_7 < * |
| Red Hat | Red Hat Enterprise Linux 9 | — | 0:344-2.el9_7 < * |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | — | 0:334.2-2.el9_6 < * |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-78 | cna | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.8 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- RHSA-2026:7381 https://access.redhat.com/errata/RHSA-2026:7381
- RHSA-2026:7382 https://access.redhat.com/errata/RHSA-2026:7382
- RHSA-2026:7383 https://access.redhat.com/errata/RHSA-2026:7383
- RHSA-2026:7384 https://access.redhat.com/errata/RHSA-2026:7384
- https://access.redhat.com/security/cve/CVE-2026-4631
- RHBZ#2450246 https://bugzilla.redhat.com/show_bug.cgi?id=2450246