What’s Vulnerable › Vulnerabilities
CVE-2026-91151: Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-11 · updated 2026-11-13
- Weakness: CWE-59
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
- Red Hat Enterprise Linux 10: all versions — fixed in 0:366.1.1-1.el10_3
- Red Hat Enterprise Linux 10.2 Extended Update Support: all versions — fixed in 0:356.4.1-1.el10_2
- Red Hat Enterprise Linux 7: all versions
- Red Hat Enterprise Linux 8: all versions — fixed in 0:310.10.2-1.el8_10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:366.1.1-1.el9_9
- Red Hat Enterprise Linux 9.8 Extended Update Support: all versions — fixed in 0:356.4.1-1.el9_8
- Red Hat OpenShift Dev Spaces: all versions
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 10 0:366.1.1-1.el10_3; Red Hat Enterprise Linux 10.2 Extended Update Support 0:356.4.1-1.el10_2; Red Hat Enterprise Linux 8 0:310.10.2-1.el8_10; Red Hat Enterprise Linux 9 0:366.1.1-1.el9_9; Red Hat Enterprise Linux 9.8 Extended Update Support 0:356.4.1-1.el9_8. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:99599
- https://access.redhat.com/errata/RHSA-2026:99600
- https://access.redhat.com/errata/RHSA-2026:99601
- https://access.redhat.com/errata/RHSA-2026:99602
- https://access.redhat.com/errata/RHSA-2026:99603
- https://access.redhat.com/security/cve/CVE-2026-91151
- https://bugzilla.redhat.com/show_bug.cgi?id=2478404
- https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23
- https://github.com/cockpit-project/cockpit/releases/tag/372
- https://bugzilla.redhat.com/show_bug.cgi?id=2478404
Get alerted when CVE-2026-91151 or the next vulnerability affects your stack