Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-4631— Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection

Quick assessment

Affected
Red Hat Red Hat Enterprise Linux 10
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cockpit是Cockpit开源的一个交互式服务器管理界面。 Cockpit存在操作系统命令注入漏洞,该漏洞源于远程登录功能将用户提供的主机名和用户名传递给SSH客户端时未经验证或清理,可能导致具有网络访问权限的攻击者通过单个HTTP请求注入恶意SSH选项或shell命令,从而在无需有效凭据的情况下在主机上执行代码。

CVSS 9.8 · Critical EPSS 15.48% · P97

Public Exploits 2

ExploitDB · 1 EDB-52572 [webapps]

Affected Version Matrix 7

VendorProduct Version RangeStatus
Red Hat Red Hat Enterprise Linux 10 0:344-3.el10_1< * unaffected
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:334.1-3.el10_0< * unaffected
Red Hat Red Hat Enterprise Linux 7 any unaffected
Red Hat Red Hat Enterprise Linux 8 any unaffected
Red Hat Red Hat Enterprise Linux 9 0:344-2.el9_7< * unaffected
0:344-2.el9_7< * unaffected
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:334.2-2.el9_6< * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-4631

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Cockpit 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cockpit是Cockpit开源的一个交互式服务器管理界面。 Cockpit存在操作系统命令注入漏洞,该漏洞源于远程登录功能将用户提供的主机名和用户名传递给SSH客户端时未经验证或清理,可能导致具有网络访问权限的攻击者通过单个HTTP请求注入恶意SSH选项或shell命令,从而在无需有效凭据的情况下在主机上执行代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Enterprise Linux 10 0:344-3.el10_1 ~ * cpe:/o:redhat:enterprise_linux:10.1
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:334.1-3.el10_0 ~ * cpe:/o:redhat:enterprise_linux_eus:10.0
Red Hat Red Hat Enterprise Linux 9 0:344-2.el9_7 ~ * cpe:/a:redhat:enterprise_linux:9::appstream
Red Hat Red Hat Enterprise Linux 9 0:344-2.el9_7 ~ * cpe:/a:redhat:enterprise_linux:9::appstream
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:334.2-2.el9_6 ~ * cpe:/a:redhat:rhel_eus:9.6::appstream
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8

II. Public POCs for CVE-2026-4631

# POC Description Source Link Shenlong Link
1 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4631.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-4631

登录查看更多情报信息。

Vendor Advisories for CVE-2026-4631 (7)

Same Patch Batch · Red Hat · 2026-04-07 · 4 CVEs total

CVE-2026-4740 8.2 HIGH Rhacm: open cluster management (ocm): cross-cluster privilege escalation via improper kube
CVE-2025-14821 7.8 HIGH Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on
CVE-2026-5745 5.5 MEDIUM Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchiv

IV. Related Vulnerabilities

V. Comments for CVE-2026-4631

No comments yet


Leave a comment