{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "6a61901e79972bbfe5690636a995e156219b9a8f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.2.0",
                "range": [
                  {
                    "fixed": "1b6098c9dbfffe978bec2d414606ed7a4c8e019a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1b6098c9dbfffe978bec2d414606ed7a4c8e019a"
            },
            {
              "fixed": "6a61901e79972bbfe5690636a995e156219b9a8f"
            }
          ],
          "repo": "https://github.com/immich-app/immich",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g4w3-c888-cr93"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-285"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119330.json"
  },
  "details": "Immich is a high-performance self-hosted photo and video management solution. Prior to 3.2.0, the shared-link creation API accepted albumId and assetIds as independent fields in server/src/services/shared-link.service.ts but authorized only the resource selected by the requested link type. An authenticated attacker who already knew a victim-owned asset UUID could select SharedLinkType.Album for an attacker-owned album while supplying that UUID in assetIds; SharedLinkService.create() persisted the unchecked association in shared_link_asset and made the victim asset available through the new anonymous shared-link credential. This exposed victim metadata, thumbnails, and the byte-identical original file and created a persistent sharing relationship that could be redistributed. This issue is fixed in version 3.2.0.",
  "id": "CVE-2026-119330",
  "modified": "2026-11-05T21:15:44.168579068Z",
  "published": "2026-10-30T19:53:29.214Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/immich-app/immich/releases/tag/v3.2.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119330.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/immich-app/immich/security/advisories/GHSA-g4w3-c888-cr93"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119330"
    },
    {
      "type": "FIX",
      "url": "https://github.com/immich-app/immich/commit/6a61901e79972bbfe5690636a995e156219b9a8f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/immich-app/immich/pull/30762"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API"
}