CVEfocus › CVE database › CVE-2026-4631

CVE-2026-4631Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument…

CVSS 9.8 CriticalEPSS 13.6% (higher than 97% of CVEs)Published 2026-04-07Updated 2026-11-25Assigner: redhat

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.

CWE-78

What to do

Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
1Fix pending
1Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cockpitFix pendingUBUNTU-CVE-2026-4631
Ubuntu 26.04cockpitNot affected
vulnerable_code_not_present
Ubuntu 25.10cockpitWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-4631
Ubuntu 24.04cockpitNot affected
vulnerable_code_not_present
Ubuntu 22.04cockpitNot affected
vulnerable_code_not_present
Debian 14cockpitFixed360-1DEBIAN-CVE-2026-4631
Debian 13cockpitFixed337-1+deb13u1DEBIAN-CVE-2026-4631
Red Hat Enterprise Linux 10cockpitFixed0:344-3.el10_1RHBA-2026:21388
Red Hat Enterprise Linux 10cockpit-bridgeFixed0:356.1-1.el10_2RHSA-2026:7383
Red Hat Enterprise Linux 10cockpit-docFixed0:344-3.el10_1RHBA-2026:21388
Red Hat Enterprise Linux 10cockpit-packagekitFixed0:344-3.el10_1RHBA-2026:21388
Red Hat Enterprise Linux 10cockpit-storagedFixed0:344-3.el10_1RHBA-2026:21388
Red Hat Enterprise Linux 10cockpit-systemFixed0:356.1-1.el10_2RHSA-2026:7383
Red Hat Enterprise Linux 10cockpit-wsFixed0:356.1-1.el10_2RHSA-2026:7383
Red Hat Enterprise Linux 10cockpit-ws-selinuxFixed0:344-3.el10_1RHBA-2026:21388
Red Hat Enterprise Linux 9cockpitFixed0:356.1-1.el9_8RHSA-2026:7384
Red Hat Enterprise Linux 9cockpit-bridgeFixed0:356.1-1.el9_8RHSA-2026:7384
Red Hat Enterprise Linux 9cockpit-docFixed0:356.1-1.el9_8RHSA-2026:7384
Red Hat Enterprise Linux 9cockpit-packagekitFixed0:344-2.el9_7RHBA-2026:21387
Red Hat Enterprise Linux 9cockpit-storagedFixed0:344-2.el9_7RHBA-2026:21387
Red Hat Enterprise Linux 9cockpit-systemFixed0:356.1-1.el9_8RHSA-2026:7384
Red Hat Enterprise Linux 9cockpit-wsFixed0:344-2.el9_7RHBA-2026:21387
Red Hat Enterprise Linux 9cockpit-ws-selinuxFixed0:344-2.el9_7RHBA-2026:21387
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 7cockpitNot affected
Red Hat Enterprise Linux 7cockpit-bridgeNot affected
Red Hat Enterprise Linux 7cockpit-docNot affected
Red Hat Enterprise Linux 7cockpit-machines-ovirtNot affected
Red Hat Enterprise Linux 7cockpit-systemNot affected
Red Hat Enterprise Linux 7cockpit-wsNot affected
AlmaLinux 10cockpit-bridgeFixed344-3.el10_1ALSA-2026:7383
AlmaLinux 10cockpit-docFixed344-3.el10_1ALSA-2026:7383
AlmaLinux 10cockpit-packagekitFixed344-3.el10_1ALSA-2026:7383
AlmaLinux 10cockpit-storagedFixed344-3.el10_1ALSA-2026:7383
AlmaLinux 10cockpit-systemFixed344-3.el10_1ALSA-2026:7383
AlmaLinux 9cockpitFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-bridgeFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-docFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-packagekitFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-storagedFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-systemFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-wsFixed344-2.el9_7ALSA-2026:7384
AlmaLinux 9cockpit-ws-selinuxFixed344-2.el9_7ALSA-2026:7384
Rocky Linux 10cockpitFixed0:344-3.el10_1.rocky.0.1RLSA-2026:7383
Rocky Linux 9cockpitFixed0:344-2.el9_7.rocky.0.1RLSA-2026:7384

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.