Bug 2450246 (CVE-2026-4631)
| Summary: | CVE-2026-4631 cockpit: Cockpit: Unauthenticated remote code execution due to SSH command-line argument injection | |||
|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> | |
| Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> | |
| Status: | NEW --- | QA Contact: | ||
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | unspecified | CC: | georgios.atsigkioz, jvanderwaa, rhel-process-autobot, security-response-team, watson-tool-maintainers | |
| Target Milestone: | --- | Keywords: | Security | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | --- | ||
| Doc Text: |
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.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2458620 (view as bug list) | Environment: | ||
| Last Closed: | Type: | --- | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Deadline: | 2026-04-07 | |||
|
Description
OSIDB Bzimport
2026-03-23 08:25:05 UTC
Not sure how this is usually handled, but Cockpit 360 with the fix has been proposed to F43/F44 and rawhide, I have backported the fix to Fedora 42 and the pull request for it is currently open. https://src.fedoraproject.org/rpms/cockpit/pull-request/422 This comment was flagged as spam, view the edit history to see the original text if required. |