# CVE-2026-91151: Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-11T19:46:14.718Z
- Modified: 2026-11-13T18:17:49.243Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- cockpit: no versions given (not affected: from 0:366.1.1-1.el10_3 before *; from 0:356.4.1-1.el10_2 before *; from 0:310.10.2-1.el8_10 before *; from 0:366.1.1-1.el9_9 before *; from 0:356.4.1-1.el9_8 before *)
- devspaces/udi-base-rhel10: no versions given
- devspaces/udi-base-rhel9: no versions given
- devspaces/udi-rhel9: no versions given

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2478404> (exploit, issue-tracking)
- <https://access.redhat.com/errata/RHSA-2026:99599> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99600> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99601> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99602> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99603> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-91151> (vdb-entry)
- <https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23>
- <https://github.com/cockpit-project/cockpit/releases/tag/372>

## Sources

- CVE List: [CVE-2026-91151](https://www.cve.org/CVERecord?id=CVE-2026-91151), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-91151](https://nvd.nist.gov/vuln/detail/CVE-2026-91151), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-91151 · Whole record: https://cve.day/CVE-2026-91151.json · Rebuilt by cve.day 2026-11-25T22:59:50.415Z
