{
  "id": "CVE-2026-91151",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-91151",
  "published_at": "2026-11-11T19:46:14.718Z",
  "title": "Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 10",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-59",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:366.1.1-1.el10_3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:356.4.1-1.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:310.10.2-1.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:366.1.1-1.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:366.1.1-1.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:356.4.1-1.el9_8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:366.1.1-1.el10_3 or later.",
      "Upgrade Red Hat Enterprise Linux 10.2 Extended Update Support to 0:356.4.1-1.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:310.10.2-1.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:366.1.1-1.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:366.1.1-1.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:356.4.1-1.el9_8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99599"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99600"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99601"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99602"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:99603"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/cockpit-project/cockpit/releases/tag/372"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
