Skip to content
Threat Brief

← All advisories

CVE-2026-4631

Critical 9.8No known exploitationPublic exploitFix status unknown

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

Record last updated

CVSS score

9.8

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

21%

Higher than 98% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-78

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
None documented
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat Enterprise Linux 10 (unaffected)0:344-3.el10_1Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10 (unaffected)0:356.1-1.el10_2Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support (unaffected)0:334.1-3.el10_0Not documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:344-2.el9_7Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:344-2.el9_7Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:356.1-1.el9_8Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:356.1-1.el9_8Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support (unaffected)0:334.2-2.el9_6Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.