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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-13
- Aliases: DEBIAN-CVE-2026-91151, UBUNTU-CVE-2026-91151
- Record: https://cvemate.com/vulnerability/CVE-2026-91151 · JSON: https://cvemate.com/vulnerability/CVE-2026-91151/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.315%, percentile 26.358%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian cockpit (Debian): All versions (No fix recorded) \| \< 372-1
- ubuntu cockpit (Ubuntu): All versions (No fix recorded) \| \< 164-1ubuntu0.1~esm1 \| \< 215-1ubuntu0.1~esm1 \| \< 264-1ubuntu0.22.04.1+esm1 \| \< 314-1ubuntu0.1~esm1 \| \< 360-1ubuntu0.1~esm2

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-91151>
- <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://access.redhat.com/errata/RHSA-2026:99600>
- <https://access.redhat.com/errata/RHSA-2026:99603>
- <https://access.redhat.com/errata/RHSA-2026:99602>
- <https://access.redhat.com/errata/RHSA-2026:99601>
- <https://access.redhat.com/errata/RHSA-2026:99599>
- <https://ubuntu.com/security/CVE-2026-91151>
- <https://www.cve.org/CVERecord?id=CVE-2026-91151>
- <https://ubuntu.com/security/notices/USN-9446-1>

---

Data as of 2026-12-05T10:36:55.446Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
