{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-4631","id":"CVE-2026-4631","title":"Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection","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 inje","descriptionLong":"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":"2026-04-07T16:30:28.069Z","updated":"2026-11-04T23:17:37.933Z","reserved":"2026-03-23T08:25:21.305Z","status":"Awaiting Analysis","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"redhat"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"redhat"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"redhat.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"redhat-SADP"}],"rating":"critical","products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.6 Extended Update Support","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"affected","versions":[{"version":"0:344-3.el10_1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"affected","versions":[{"version":"0:356.1-1.el10_2","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","defaultStatus":"affected","versions":[{"version":"0:334.1-3.el10_0","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:356.1-1.el9_8","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:344-2.el9_7","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:356.1-1.el9_8","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:344-2.el9_7","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.6 Extended Update Support","defaultStatus":"affected","versions":[{"version":"0:334.2-2.el9_6","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"unaffected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHBA-2026:21387","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHBA-2026:21388","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7381","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7382","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7383","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7384","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4631","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2450246","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/10/5","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.json","tags":["x_sadp-csaf-vex"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.1548,"epssPercentile":0.96872,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-4631","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4631","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-4631","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-4631","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 15% with CVSS 9.8"],"attention":null}