CVE-2026-4631
NVDCVSS scored by secalert@redhat.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
Not provided by NVD for this CVE.
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run the affected product and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 7, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get alerts for CVEs like this oneYou are reading CVE-2026-4631. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://access.redhat.com/errata/RHBA-2026:21387
- Referencehttps://access.redhat.com/errata/RHBA-2026:21388
- Referencehttps://access.redhat.com/errata/RHSA-2026:7381
- Referencehttps://access.redhat.com/errata/RHSA-2026:7382
- Referencehttps://access.redhat.com/errata/RHSA-2026:7383
- Referencehttps://access.redhat.com/errata/RHSA-2026:7384
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-4631
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2450246
- Vendor Advisoryhttps://github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427
- Advisoryhttp://www.openwall.com/lists/oss-security/2026/04/10/5
- Referencehttps://access.redhat.com/errata/RHSA-2026:7381
- Referencehttps://access.redhat.com/errata/RHSA-2026:7382
- Referencehttps://access.redhat.com/errata/RHSA-2026:7383
- Referencehttps://access.redhat.com/errata/RHSA-2026:7384
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-4631
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2450246
- Referencehttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4631.json
Data last checked: Dec 3, 2026 00:47 UTC