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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 9.8 · Critical EPSS 4.27% · P89
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
Red HatRed Hat Enterprise Linux 10 0:344-3.el10_1 ~ * cpe:/o:redhat:enterprise_linux:10.1
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support 0:334.1-3.el10_0 ~ * cpe:/o:redhat:enterprise_linux_eus:10.0
Red HatRed Hat Enterprise Linux 9 0:344-2.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:344-2.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support 0:334.2-2.el9_6 ~ * cpe:/o:redhat:rhel_eus:9.6::baseos
Red HatRed Hat Enterprise Linux 7-cpe:/o:redhat:enterprise_linux:7
Red HatRed Hat Enterprise Linux 8-cpe:/o:redhat:enterprise_linux:8

II. Public POCs for CVE-2026-4631

#POC DescriptionSource LinkShenlong Link
1Cockpit'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.yamlPOC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-4631

登录查看更多情报信息。

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

CVE-2026-47408.2 HIGHRhacm: open cluster management (ocm): cross-cluster privilege escalation via improper kube
CVE-2025-148217.8 HIGHLibssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on
CVE-2026-57455.5 MEDIUMLibarchive: 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