[From nobody Thu Apr  9 04:07:09 2026
Received: (at submit) by bugs.debian.org; 8 Apr 2026 20:20:29 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA,
 FROMDEVELOPER, 
 NO_RELAYS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 146; neutral, 44; spammy,
 1. spammytokens:0.942-+--H*r:bugs.debian.org
 hammytokens:0.000-+--H*F:U*carnil, 0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--HTo:N*Debian, 0.000-+--H*Ad:N*Bug
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wAZO0-006o53-0q
 for submit@bugs.debian.org; Wed, 08 Apr 2026 20:20:29 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: cockpit: CVE-2026-4631
Message-ID: &lt;177567962524.3010722.17620552612478774331.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0
Date: Wed, 08 Apr 2026 22:20:25 +0200
Delivered-To: submit@bugs.debian.org

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: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

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 &amp; 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
]