Skip to content
OpenAdvisories

Description

A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereference vulnerability in the `ssh-add-public-key.sh` helper. When this helper runs with elevated privileges, it can be tricked into following attacker-controlled symlinks within the `.ssh` or `authorized_keys` paths. This allows the attacker to arbitrarily change file ownership and modes, potentially leading to local privilege escalation and impacting the integrity, confidentiality, and availability of the system.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat OpenShift Dev Spaces — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cockpit 372-1 —
Debian 13 cockpit No fix yet —
Debian 12 cockpit No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cockpit No fix yet —
Ubuntu 26.04 LTS cockpit No fix yet —
Ubuntu 24.04 LTS cockpit No fix yet —
Ubuntu 22.04 LTS cockpit No fix yet —
Ubuntu 20.04 LTS cockpit No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS cockpit No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 cockpit +7 366.1.1-1.el10_3 RHSA-2026:99600
RHEL 9 cockpit +7 366.1.1-1.el9_9 RHSA-2026:99602
RHEL 8 cockpit +4 310.10.2-1.el8_10 RHSA-2026:99603
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.2 EUS cockpit +7 356.4.1-1.el10_2 RHSA-2026:99599
RHEL 9.8 EUS cockpit +7 356.4.1-1.el9_8 RHSA-2026:99601

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 cockpit +7 366.1.1-1.el9_9.rocky.0.1 RLSA-2026:99602
Rocky Linux 8 cockpit +4 310.10.2-1.el8_10 RLSA-2026:99603

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cockpit +4 310.10.2-1.0.1.el8_10 ELSA-2026-99603

Advisories 9

References