Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
Red Hat · Red Hat Enterprise Linux 10
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.
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 3 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 11 days after disclosure.
- Disclosedday 0
- Public exploit codePoC-in-GitHub+11 days
- First seen exploitedVulnCheck KEV evidence+3 mo
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo 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 yetAlso mentioned in 16 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Apr 24, 2026 | Part 1/223 Apr 2026
- Known_Cve | Apr 23, 2026 | Part 1/222 Apr 2026
- Known_Cve | Apr 22, 2026 | Part 1/221 Apr 2026
- Known_Cve | Apr 21, 2026 | Part 1/220 Apr 2026
- Known_Cve | Apr 20, 2026 | Part 1/219 Apr 2026
- Known_Cve | Apr 19, 2026 | Part 1/218 Apr 2026
- 10 more on OTX