Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper

State
Published
Severity
7.3 High
Published
Nov 11, 2026
Updated
Nov 13, 2026
Reserved
Sep 14, 2026

Read the record on cve.org

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.

ProductVersions
Red Hat Enterprise Linux 10 Red Hat0:366.1.1-1.el10_3 and later Not Affected
Red Hat Enterprise Linux 10.2 Extended Update Support Red Hat0:356.4.1-1.el10_2 and later Not Affected
Red Hat Enterprise Linux 8 Red Hat0:310.10.2-1.el8_10 and later Not Affected
Red Hat Enterprise Linux 9 Red Hat0:366.1.1-1.el9_9 and later Not Affected
Red Hat Enterprise Linux 9 Red Hat0:366.1.1-1.el9_9 and later Not Affected
Red Hat Enterprise Linux 9.8 Extended Update Support Red Hat0:356.4.1-1.el9_8 and later Not Affected
Red Hat Enterprise Linux 7 Red Hat
Red Hat OpenShift Dev Spaces Red Hat
Red Hat OpenShift Dev Spaces Red Hat
Red Hat OpenShift Dev Spaces Red Hat

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.