CVE-2026-4631
criticalpriority · track · 15EPSS 0.155 · 97 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- EDB-52572Cockpit 359 - RCEPoC · exploit_db
affected products (15)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1052Red Hat Enterprise Linux (Cockpit): Schwachstelle ermöglicht CodeausführungDeutsch2026-04-12csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um beliebigen Programmcode auszuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-4631cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2450246cnnvd
- https://vigilance.fr/vulnerability/Cockpit-code-execution-via-SSH-Options-50420cnnvd
- https://www.exploit-db.com/exploits/52572cnnvd
- https://access.redhat.com/errata/RHSA-2026:7381enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:7382enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:7383enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:7384enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan