CVE-2026-4631
Critical · 9.8CVSS
9.8
EPSS
9.2%
Published
Apr 7, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| openSUSE:Leap 16.0 | cockpit | 0 | 354-160000.3.1 |
| openSUSE:Tumbleweed | cockpit | 0 | 360-1.1 |
Related vulnerabilities
- CVE-2026-4802 A flaw was found in Cockpit. Also affects cockpit
- CVE-2026-26996 minimatch is a minimal matching utility for converting glob expressions into JavaScript… Also affects cockpit
- CVE-2026-25547 @isaacs/brace-expansion is a hybrid CJS/ESM TypeScript fork of brace-expansion. Also affects cockpit
- CVE-2025-13465 Lodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the… Also affects cockpit
- CVE-2024-6126 A flaw was found in the cockpit package. Also affects cockpit
- CVE-2026-96376 Improper Neutralization of Special Elements used in an OS Command ("OS Command… CWE-78
- CVE-2026-113732 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113776 virtualenv is a tool for creating isolated virtual python environments. CWE-78