CVE-2026-91151
highA flaw was found in Cockpit.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/security/cve/CVE-2026-91151 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2478404 secalert@redhat.com
- https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23 secalert@redhat.com
- https://github.com/cockpit-project/cockpit/releases/tag/372 secalert@redhat.com

