Patchfirst
CVE-2026-4631 Public exploit Critical · 9.8 EPSS 15.5%

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

Red Hat · Red Hat Enterprise Linux 10

Summary

Cockpit's remote login feature, in Red Hat Enterprise Linux 10, 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 send a single crafted HTTP request to the login endpoint, requiring no credentials or user interaction, to inject SSH options or shell commands and execute code on the Cockpit host.

Official description · CVE.org

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.

Breakdown
74.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 11 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+11 days
  3. First seen exploitedVulnCheck KEV evidence+3 mo

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

What security researchers reported

Not named in any threat report yet

Also mentioned in 16 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

11 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close