Source: cockpit
Version: 358-1
Severity: grave
Tags: security upstream
Justification: user security hole
Forwarded: https://github.com/cockpit-project/cockpit/pull/23105
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for cockpit.

CVE-2026-4631[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-4631
    https://www.cve.org/CVERecord?id=CVE-2026-4631
[1] https://github.com/cockpit-project/cockpit/pull/23105

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to