CVE-2026-91151
Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper
- Severity
- high CVSS 7.3 (v3.1)
- Affects
- Red Hat Enterprise Linux 10 · Red Hat
- Weakness
- CWE-59: Improper Link Resolution Before File Access
- Published
- 11 November 2026 by redhat
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.