CVE-2026-91151
JSON

7.3high

Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper

Severity
7.3high CVSS:3.1 by redhat
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
cockpitNot specified
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 *
CVE List
devspaces/udi-base-rhel10Not specifiedCVE List
devspaces/udi-base-rhel9Not specifiedCVE List
devspaces/udi-rhel9Not specifiedCVE List

Classification

CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-91151 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-91151 changed 2026-11-13Public domain