{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.0.3"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cd308ad93093735135f99d85ce6980c8e93df231"
            },
            {
              "fixed": "84dff19ca9a467752d848ff54763d62c04ebf960"
            }
          ],
          "repo": "https://github.com/immich-app/immich",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59258.json"
  },
  "details": "immich before 3.0.3 contains a broken access control vulnerability in the PUT /albums/:id/user/:userId endpoint that allows shared album editors to modify member roles without owner-only restrictions. Attackers with editor access can demote the album owner to editor and promote themselves to owner in sequential requests, gaining full control including deletion and eviction capabilities.",
  "id": "CVE-2026-59258",
  "modified": "2026-07-22T05:29:47.705611147Z",
  "published": "2026-07-15T17:03:57.291Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59258.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/immich-app/immich/releases/tag/v3.0.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59258"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/immich-shared-album-editor-ownership-takeover-via-updateuser"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/immich-app/immich/pull/29883"
    },
    {
      "type": "FIX",
      "url": "https://github.com/immich-app/immich/commit/84dff19ca9a467752d848ff54763d62c04ebf960"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/immich-app/immich"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/immich-app/immich/issues/29857"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "immich \u003c 3.0.3 Shared Album Editor Ownership Takeover via updateUser"
}