Red HatCVE-2026-91151
Red Hat Cockpit: privilege escalation
No fix yet
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
| Red Hat OpenShift Dev Spaces Product | all versions | No fix yet |
| all versions | No fix yet | |
| all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-59
- www.cve.org/CVERecord?id=CVE-2026-91151
- nvd.nist.gov/vuln/detail/CVE-2026-91151
- access.redhat.com/errata/RHSA-2026:99599
- access.redhat.com/errata/RHSA-2026:99600
- access.redhat.com/errata/RHSA-2026:99601
- access.redhat.com/errata/RHSA-2026:99602
- access.redhat.com/errata/RHSA-2026:99603
- access.redhat.com/security/cve/CVE-2026-91151
- bugzilla.redhat.com/show_bug.cgi?id=2478404
- github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23
- github.com/cockpit-project/cockpit/releases/tag/372