🔐 CVE Alert

CVE-2026-4631

CRITICAL 9.8

Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection

CVSS Score
9.8
EPSS Score
0.1%
EPSS Percentile
27th

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.

CWE CWE-78
Vendor red hat
Product red hat enterprise linux 10
Published Apr 7, 2026
Last Updated Apr 10, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat enterprise linux 10

Be the first to know when new critical vulnerabilities affecting red hat red hat enterprise linux 10 are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Red Hat / Red Hat Enterprise Linux 10
All versions affected
Red Hat / Red Hat Enterprise Linux 10.0 Extended Update Support
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Support
All versions affected
Red Hat / Red Hat Enterprise Linux 7
All versions affected
Red Hat / Red Hat Enterprise Linux 8
All versions affected

References

NVD ↗ CVE.org ↗ EPSS Data ↗
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7381 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7382 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7383 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7384 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-4631 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2450246 openwall.com: http://www.openwall.com/lists/oss-security/2026/04/10/5

Credits

Red Hat would like to thank Florian Kohnhäuser for reporting this issue.