{"id":"CVE-2026-119330","state":"PUBLISHED","title":"Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API","description":"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.","publishedAt":"2026-10-30T19:53:29.214Z","updatedAt":"2026-10-30T19:53:29.214Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["immich-app immich"],"affected":[{"vendor":"immich-app","product":"immich","versions":[{"version":"< 3.2.0","status":"affected"}]}],"references":["https://github.com/immich-app/immich/security/advisories/GHSA-g4w3-c888-cr93","https://github.com/immich-app/immich/pull/30762","https://github.com/immich-app/immich/commit/6a61901e79972bbfe5690636a995e156219b9a8f","https://github.com/immich-app/immich/releases/tag/v3.2.0"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-30T20:00:06.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119330.json","commit":"c38e2e77a87db0e463f8aa35621676635c6b16df","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119330","state":"PUBLISHED","datePublished":"2026-10-30T19:53:29.214Z","dateUpdated":"2026-10-30T19:53:29.214Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-29T20:44:30.285Z"},"containers":{"cna":{"title":"Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"immich-app","product":"immich","versions":[{"version":"< 3.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/immich-app/immich/security/advisories/GHSA-g4w3-c888-cr93","name":"https://github.com/immich-app/immich/security/advisories/GHSA-g4w3-c888-cr93","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/immich-app/immich/pull/30762","name":"https://github.com/immich-app/immich/pull/30762","tags":["x_refsource_MISC"]},{"url":"https://github.com/immich-app/immich/commit/6a61901e79972bbfe5690636a995e156219b9a8f","name":"https://github.com/immich-app/immich/commit/6a61901e79972bbfe5690636a995e156219b9a8f","tags":["x_refsource_MISC"]},{"url":"https://github.com/immich-app/immich/releases/tag/v3.2.0","name":"https://github.com/immich-app/immich/releases/tag/v3.2.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.5,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285: Improper Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T19:53:29.214Z"},"source":{"advisory":"GHSA-g4w3-c888-cr93","discovery":"UNKNOWN"}}}}}