Skip to main content
Network Thinking Solutions Logo

CVE-2026-4631

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.

All CVEs
CVE-2026-4631Published 4/7/2026

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.

Vendor advisory
CVSS 3.19.8Critical

Overview

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.

Published
4/7/2026
Last modified
11/25/2026
CVE assigner
redhat
NVD analysis
Awaiting Analysis

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
cockpit
Vendor not specified
≥ 327, < 360

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 10
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 7
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHBA-2026:21387vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHBA-2026:21388vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2026:7381vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2026:7382vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2026:7383vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2026:7384vendor-advisory · x_refsource_REDHAT

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

9.8 · Critical CVSS 3.1

Scored by redhat

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.8 · Critical CVSS 3.1

Scored by redhat-SADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.8 · Critical CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.8 · Critical CVSS 3.1

Scored by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.