Vulnerabilities / CVE-2026-4631

critical

CVE-2026-4631

cockpit: Cockpit: Unauthenticated remote code execution due to SSH command-line argument injection

Published Modified CWE 78
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by Red Hat, AlmaLinux, Oracle, Rocky Linux.

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 packages and fixed versions

SourcePackageFixed in
alma 10cockpit-bridge, cockpit-doc, cockpit-packagekit and 2 more344-3.el10_1
alma 9cockpit, cockpit-bridge, cockpit-doc and 5 more344-2.el9_7
Oracle Linux 9cockpit, cockpit-bridge, cockpit-doc and 5 more344-2.0.1.el9_7
rocky 10cockpit, cockpit-bridge, cockpit-doc and 3 more344-3.el10_1.rocky.0.1
rocky 9cockpit, cockpit-bridge, cockpit-doc and 3 more344-2.el9_7.rocky.0.1
debian 13cockpit337-1+deb13u1
debian 14cockpit360-1
rapidfort debian 12cockpit0:337-1+deb13u1, 0:360-1
rapidfort debian 13cockpit0:337-1+deb13u1, 0:360-1
rapidfort fedora 43cockpit, cockpit-bridge, cockpit-doc and 9 more360-1.fc43
rapidfort Oracle Linux 10cockpit, cockpit-bridge, cockpit-doc and 5 more0:344-3.0.1.el10_1
rapidfort Oracle Linux 9cockpit, cockpit-bridge, cockpit-doc and 5 more0:344-2.0.1.el9_7
Show all 65 entries from 12 sources
SourcePackageFixed in
alma 10cockpit-bridge344-3.el10_1
alma 10cockpit-doc344-3.el10_1
alma 10cockpit-packagekit344-3.el10_1
alma 10cockpit-storaged344-3.el10_1
alma 10cockpit-system344-3.el10_1
alma 9cockpit344-2.el9_7
alma 9cockpit-bridge344-2.el9_7
alma 9cockpit-doc344-2.el9_7
alma 9cockpit-packagekit344-2.el9_7
alma 9cockpit-storaged344-2.el9_7
alma 9cockpit-system344-2.el9_7
alma 9cockpit-ws344-2.el9_7
alma 9cockpit-ws-selinux344-2.el9_7
Oracle Linux 9cockpit344-2.0.1.el9_7
Oracle Linux 9cockpit-bridge344-2.0.1.el9_7
Oracle Linux 9cockpit-doc344-2.0.1.el9_7
Oracle Linux 9cockpit-packagekit344-2.0.1.el9_7
Oracle Linux 9cockpit-storaged344-2.0.1.el9_7
Oracle Linux 9cockpit-system344-2.0.1.el9_7
Oracle Linux 9cockpit-ws344-2.0.1.el9_7
Oracle Linux 9cockpit-ws-selinux344-2.0.1.el9_7
rocky 10cockpit344-3.el10_1.rocky.0.1
rocky 10cockpit-bridge344-3.el10_1.rocky.0.1
rocky 10cockpit-doc344-3.el10_1.rocky.0.1
rocky 10cockpit-system344-3.el10_1.rocky.0.1
rocky 10cockpit-ws344-3.el10_1.rocky.0.1
rocky 10cockpit-ws-selinux344-3.el10_1.rocky.0.1
rocky 9cockpit344-2.el9_7.rocky.0.1
rocky 9cockpit-bridge344-2.el9_7.rocky.0.1
rocky 9cockpit-doc344-2.el9_7.rocky.0.1
rocky 9cockpit-system344-2.el9_7.rocky.0.1
rocky 9cockpit-ws344-2.el9_7.rocky.0.1
rocky 9cockpit-ws-selinux344-2.el9_7.rocky.0.1
debian 13cockpit337-1+deb13u1
debian 14cockpit360-1
rapidfort debian 12cockpit0:337-1+deb13u1, 0:360-1
rapidfort debian 13cockpit0:337-1+deb13u1, 0:360-1
rapidfort fedora 43cockpit360-1.fc43
rapidfort fedora 43cockpit-bridge360-1.fc43
rapidfort fedora 43cockpit-doc360-1.fc43
rapidfort fedora 43cockpit-kdump360-1.fc43
rapidfort fedora 43cockpit-networkmanager360-1.fc43
rapidfort fedora 43cockpit-packagekit360-1.fc43
rapidfort fedora 43cockpit-selinux360-1.fc43
rapidfort fedora 43cockpit-sosreport360-1.fc43
rapidfort fedora 43cockpit-storaged360-1.fc43
rapidfort fedora 43cockpit-system360-1.fc43
rapidfort fedora 43cockpit-ws360-1.fc43
rapidfort fedora 43cockpit-ws-selinux360-1.fc43
rapidfort Oracle Linux 10cockpit0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-bridge0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-doc0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-packagekit0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-storaged0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-system0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-ws0:344-3.0.1.el10_1
rapidfort Oracle Linux 10cockpit-ws-selinux0:344-3.0.1.el10_1
rapidfort Oracle Linux 9cockpit0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-bridge0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-doc0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-packagekit0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-storaged0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-system0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-ws0:344-2.0.1.el9_7
rapidfort Oracle Linux 9cockpit-ws-selinux0:344-2.0.1.el9_7

References

All 19 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.