CVE-2026-119330

Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API

Published Oct 30, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user to craft a shared‑link request that, by exploiting a programming flaw, attaches an asset that belongs to another user to a link that the attacker owns. Because the API ignores the ownership of the supplied asset IDs, the victim’s asset, including its metadata, thumbnail and full‑size image, becomes accessible through an anonymous link that the attacker can redistribute. This results in the unintended disclosure of private media to anyone who obtains the link.

Affected Systems

Immich, the self‑hosted photo and video management platform, is affected. The flaw is present in all releases prior to version 3.2.0 and is fixed in 3.2.0 and later. Users running 3.1.x, 3.0.x or earlier are vulnerable.

Risk and Exploitability

The CVSS score of 3.5 indicates low severity, and the EPSS score is not available, suggesting that this vulnerability is not widely exploited. However, the attack requires a valid authenticated session and a known asset UUID that belongs to another user, which suggests the risk is moderate in scenarios where such information can be gathered. The link creation attack can be performed through the exposed API endpoint without additional privileges, so while the overall risk is low, the potential impact on user privacy is significant. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor's patch by upgrading to version 3.2.0 or later.
  • Revoke any shared links generated by victims before the patch to prevent unintended access, especially those created using the assetIds field.
  • If an upgrade is not an immediate option, temporarily disable or restrict the CreateSharedLink API endpoint for untrusted users through configuration or network controls.

Generated by OpenCVE AI on October 30, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Immich-app
Immich-app immich
Vendors & Products Immich-app
Immich-app immich
Type Values Removed Values Added
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.
Title Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API
Weaknesses CWE-285
References
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 5, 2026, 2:35 AM
Reserved
Oct 29, 2026, 8:44 PM
Status
Deferred
Published
Oct 30, 2026, 8:17 PM
Modified
Nov 5, 2026, 3:17 AM