Security mailing lists by PureSourceCode

CVE-2026-4631

CRITICAL 9.8CVSS 3.1

Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection

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.

Published
7 Apr 2026
Last modified
25 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Awaiting Analysis
Weakness
CWE-78
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List redhat CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List redhat-SADP CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://github.com/cockpit-project/cockpit cockpit >= 327, < 360 360
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:enterprise_linux:10.1
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:enterprise_linux:10.2
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:enterprise_linux_eus:10.0
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/a:redhat:rhel_eus:9.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/a:redhat:enterprise_linux:9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/a:redhat:rhel_eus:9.6
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cockpit
cpe:/o:redhat:enterprise_linux:7

References

History

  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 7 Apr 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.