{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "4796b28be064a90e32262cec85be7839e6198e23"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "372",
                "range": [
                  {
                    "fixed": "4796b28be064a90e32262cec85be7839e6198e23"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4796b28be064a90e32262cec85be7839e6198e23"
            }
          ],
          "repo": "https://github.com/cockpit-project/cockpit",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91151.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0:366.1.1-1.el10_3"
              },
              {
                "fixed": "0:356.4.1-1.el10_2"
              },
              {
                "fixed": "0:310.10.2-1.el8_10"
              },
              {
                "fixed": "0:366.1.1-1.el9_9"
              },
              {
                "fixed": "0:366.1.1-1.el9_9"
              },
              {
                "fixed": "0:356.4.1-1.el9_8"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "InverseAffectedRanges"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-91151",
  "modified": "2026-11-14T02:30:51.001850024Z",
  "published": "2026-11-11T19:46:14.718Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cockpit-project/cockpit/releases/tag/372"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:99599"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:99600"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:99601"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:99602"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:99603"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-91151"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91151.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91151"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2478404"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper"
}