Advisory

RLSA-2026:7384

Also known as: CVE-2026-4631

Summary

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

Details

Cockpit enables users to administer GNU/Linux servers using a web browser. It
offers network configuration, log inspection, diagnostic reports, SELinux
troubleshooting, interactive command-line sessions, and more.

Security Fix(es):

  • cockpit: ws: be more explicit when handling hostnames on cli (CVE-2026-4631)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE page(s)
listed in the References section.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-05-21 16:27 UTC
Modified
2026-05-21 17:00 UTC

Affected packages and fixes

cockpit

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:344-2.el9_7.rocky.0.1 (ecosystem)

Fixed versions

0:344-2.el9_7.rocky.0.1

Fix

  • Fixed version 0:344-2.el9_7.rocky.0.1
    sudo dnf upgrade cockpit-0:344-2.el9_7.rocky.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences