Immich view-only partner sharing exposes archived asset locations through the map endpoint

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-119329?

CVE-2026-119329 is a vulnerability classified as Authorization Bypass Through User-Controlled Key, affecting immich (affected versions: < 3.0.0). This vulnerability is rated Medium, with a CVSS score of 4.3. There is not enough data to determine whether this vulnerability has been exploited.

Overview

Original source data

Immich is a high-performance self-hosted photo and video management solution. Prior to 3.0.0, GET /api/map/markers used server/src/services/map.service.ts to add partner owner identifiers when withPartners=true, while server/src/repositories/map.repository.ts applied Archive visibility to every selected owner when isArchived=true. A view-only partner could therefore enumerate the GPS coordinates and existence of a sharer's archived photos or videos even though the timeline and direct-access paths exclude archived partner assets. The exposure is limited to location metadata and asset identifiers because image bytes remain protected by checkPartnerAccess. This issue is fixed in version 3.0.0.

Affected products and scope

  • The normalized record identifies immich-app Immich as affected for < 3.0.0.
  • The GitHub advisory for package immich-server lists <= v2.7.5 as affected and v3.0.0 as patched.
  • Both sources identify v3.0.0 as the confirmed fix. The available evidence does not establish the status of parallel or other release branches outside these boundaries.

Technical details

Immich partner sharing is intended to expose only non-archived assets to a partner, but the map path does not preserve that rule. When a view-only partner sends GET /api/map/markers with withPartners=true and isArchived=true, server/src/services/map.service.ts adds partner owner identifiers to the query. server/src/repositories/map.repository.ts then permits Archive visibility for every selected owner instead of restricting archived assets to the caller's own assets. This creates an authorization bypass consistent with CWE-639 and allows the partner to obtain GPS markers, asset identifiers, and evidence that archived assets exist. The timeline and direct-asset paths continue to enforce restrictions on archived partner assets, while checkPartnerAccess continues to protect image bytes. The available evidence does not establish whether custom routing or integrations change the exposure scope.

Exploitability

The flaw is remotely reachable through the Immich API by an account that already has a view-only partner relationship. The attacker needs valid authentication and an existing partner privilege, but no administrator privilege or additional interaction from the sharer is required. A direct request to the map endpoint with the partner and archived-asset options is sufficient to obtain the described metadata. The vendor advisory includes a proof-of-concept verification of the behavior on an affected release. The normalized record does not confirm exploitation in the wild and does not provide an independent public-exploit status.

Technical impact

  • Technical outcome: A view-only partner can receive GPS location metadata, asset identifiers, and evidence that archived assets owned by the sharer exist.
  • Privilege boundary: The flaw crosses the archived-asset visibility boundary, but the evidence does not show an ability to modify, delete, administer, or retrieve image bytes.
  • Scope: The described impact is confined to the Immich deployment and requires an existing partner relationship; no cross-system impact is established.
  • Organizational consequence: Location data may increase privacy, personal-safety, or activity-disclosure risk depending on the sensitivity of the affected library.

Business impact

The flaw can disclose the location of assets that a user deliberately hid from a partner, together with evidence that those assets exist. Depending on the library, GPS coordinates could reveal homes, workplaces, travel patterns, or other sensitive locations, creating possible privacy and personal-safety risks. Asset identifiers can allow a partner to build an inventory of archived content without retrieving the image or video bytes. The evidence does not show that the flaw permits asset modification, deletion, privilege escalation, or service disruption.

Remediation

  1. Upgrade immich-server to v3.0.0, the confirmed patched release identified by the vendor advisory.
  2. For Docker deployments, follow Immich's release procedure, which sets IMMICH_VERSION to v3 before carrying out the normal container update process.
  3. Verify every node or deployment that shares the backend has been updated, because updating only one instance does not establish that all partner-sharing endpoints are corrected.
  4. The available evidence does not describe a vendor-confirmed temporary workaround. Do not treat the timeline or direct-access restrictions as sufficient protection, because the map endpoint used an inconsistent authorization rule.

Detection

  1. Inventory Immich deployments and identify instances with partner sharing enabled, especially view-only partner relationships.
  2. Review access logs for GET /api/map/markers requests containing withPartners=true and isArchived=true, then associate those requests with partner sessions.
  3. If historical request or response data is available, check whether returned GPS markers and asset identifiers correspond to archived assets owned by a sharing user.
  4. In a test environment, create an archived asset for a sharing user and verify that the asset is absent from map results when queried through a view-only partner.
  5. The absence of matching logs does not prove that the system was not accessed or exposed.
Sources (11)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.