Skip to content
OpenAdvisories

Description

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 products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cockpit 360-1 —
Debian 13 cockpit 337-1+deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cockpit No fix yet —
Ubuntu 25.10 cockpit No fix yet —
Ubuntu 20.04 LTS cockpit No fix yet —
Ubuntu 18.04 LTS cockpit No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 cockpit +7 344-3.el10_1 RHSA-2026:7383, RHBA-2026:21388
RHEL 9 cockpit +7 344-2.el9_7 RHSA-2026:7384, RHBA-2026:21387
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS cockpit +6 334.1-3.el10_0 RHSA-2026:7381
RHEL 9.6 EUS cockpit +6 334.2-2.el9_6 RHSA-2026:7382

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 cockpit-doc +4 344-3.el10_1 ALSA-2026:7383
AlmaLinux 9 cockpit +7 344-2.el9_7 ALSA-2026:7384

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 cockpit 344-3.el10_1.rocky.0.1 RLSA-2026:7383
Rocky Linux 9 cockpit 344-2.el9_7.rocky.0.1 RLSA-2026:7384
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 cockpit 354-160000.3.1 SUSE-SU-2026:22837-1, SUSE-SU-2026:21184-1
SLES for SAP 16.0 cockpit-machines 354-160000.1.1 SUSE-SU-2026:22837-1
SLES for SAP 16.0 cockpit-packages 5-160000.1.1 SUSE-SU-2026:22837-1
SLES for SAP 16.0 cockpit-podman 128-160000.1.1 SUSE-SU-2026:22837-1
SLES for SAP 16.0 cockpit-repos 4.8-160000.1.1 SUSE-SU-2026:22837-1
SLES for SAP 16.0 cockpit-subscriptions 16.2-160000.1.1 SUSE-SU-2026:22837-1
SLES 16.0 cockpit 354-160000.3.1 SUSE-SU-2026:22837-1, SUSE-SU-2026:21184-1
SLES 16.0 cockpit-machines 354-160000.1.1 SUSE-SU-2026:22837-1
SLES 16.0 cockpit-packages 5-160000.1.1 SUSE-SU-2026:22837-1
SLES 16.0 cockpit-podman 128-160000.1.1 SUSE-SU-2026:22837-1
SLES 16.0 cockpit-repos 4.8-160000.1.1 SUSE-SU-2026:22837-1
SLES 16.0 cockpit-subscriptions 16.2-160000.1.1 SUSE-SU-2026:22837-1
SLE Micro 6.2 cockpit 354-160000.3.1 SUSE-SU-2026:22770-1, SUSE-SU-2026:21106-1
SLE Micro 6.2 cockpit-machines 354-160000.1.1 SUSE-SU-2026:22770-1
SLE Micro 6.2 cockpit-podman 128-160000.1.1 SUSE-SU-2026:22770-1
SLE Micro 6.2 cockpit-repos 4.8-160000.1.1 SUSE-SU-2026:22770-1
SLE Micro 6.2 cockpit-subscriptions 16.2-160000.1.1 SUSE-SU-2026:22770-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cockpit 360-1.1 openSUSE-SU-2026:10531-1
openSUSE Leap 16.0 cockpit 354-160000.3.1 openSUSE-SU-2026:21399-1, openSUSE-SU-2026:20523-1
openSUSE Leap 16.0 cockpit-machines 354-160000.1.1 openSUSE-SU-2026:21399-1
openSUSE Leap 16.0 cockpit-packages 5-160000.1.1 openSUSE-SU-2026:21399-1
openSUSE Leap 16.0 cockpit-podman 128-160000.1.1 openSUSE-SU-2026:21399-1
openSUSE Leap 16.0 cockpit-repos 4.8-160000.1.1 openSUSE-SU-2026:21399-1
openSUSE Leap 16.0 cockpit-subscriptions 16.2-160000.1.1 openSUSE-SU-2026:21399-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 cockpit +7 344-3.0.1.el10_1 ELSA-2026-7383
Oracle Linux 9 cockpit +7 344-2.0.1.el9_7 ELSA-2026-7384

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 20

References