cvelo
P2 · HighCVSS 7.3

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

  • CVE-2026-91151
  • GHSA-7vqx-f59g-6xhv
  • EUVD-2026-123794

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.

Text from the CVE.org record.

Affected

  • Red Hat Red Hat Enterprise Linux 10

    • from 0:366.1.1-1.el10_3 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support

    • from 0:356.4.1-1.el10_2 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 7

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 8

    • from 0:310.10.2-1.el8_10 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 9

    • from 0:366.1.1-1.el9_9 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support

    • from 0:356.4.1-1.el9_8 onwards: not affected
  • Red Hat Red Hat OpenShift Dev Spaces

    • No versions listed

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.