CVE-2025-43856
HighCVSS 7.3Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
Immich prior to 1.132.0 is vulnerable to account hijacking through OAuth2 because the state parameter is not checked. When immich uses /user-settings as redirect_uri, accounts are automatically linked, allowing an attacker to link the victim's account to their own OAuth account and later log in as the victim.
Risk Assessment
An attacker can hijack a victim's immich account by embedding a hidden iframe or sending a forged OAuth login URL, leading to unauthorized access to account data and functionality.
Recommendation
Update immich to version 1.132.0 or later. Until patched, consider disabling public OAuth providers or restricting redirect_uri to trusted values.
Other vulnerabilities in immich
See all- CVE-2026-53662Critical
Immich, a photo and video management solution, has a reflected XSS vulnerability on the /auth/login page. An attacker can take over an authenticated user's account with a single link click.
- CVE-2026-144667Low
Immich before 3.4.0 contains an information disclosure vulnerability that allows shared-link key holders to confirm owner asset existence by bypassing upload-access checks in the checksum duplicate lookup. Attackers can send POST /api/assets with a candidate SHA-1 in the x-immich-checksum header to learn asset IDs, including locked or trashed assets.
- CVE-2026-77439High
Immich is a self-hosted photo and video management solution. Prior to 3.0.3, an authenticated user with editor access to a shared album can change the existing owner's role because album member role updates do not protect the owner from modification. By demoting the owner and then promoting themselves, an editor can take ownership of the album, remove the original owner, and delete the album.
- CVE-2026-104867Medium
In Immich from 3.0.0 until 3.2.0, the GET /api/admin/users/{id}/calendar-heatmap route uses the ordinary Permission.UserRead permission without an admin-route requirement, and the service does not compare the authenticated user with the requested identifier. Any authenticated non-admin user can therefore request another account's upload or capture-date activity heatmap, including archived and locked assets.
- CVE-2026-119330Low
In Immich 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.
- CVE-2026-119329Medium
In Immich before 3.0.0, the GET /api/map/markers endpoint exposed to a view-only partner the GPS coordinates and existence of a sharer's archived photos or videos. The exposure is limited to location metadata and asset identifiers, as image bytes remain protected.
- CVE-2026-119328Medium
In Immich before 3.3.0, the unauthenticated machine-learning /predict endpoint accepted an options object without restricting security-sensitive parameters. An attacker with network access could set cache_dir to an arbitrary writable path, causing model downloads to write there and clear_cache() to recursively delete an attacker-selected directory via shutil.rmtree().
- CVE-2026-108165Medium
Immich through 3.3.1 contains a missing authorization vulnerability in the partner synchronization stream that allows authenticated partners to read Locked Folder asset metadata because sync queries do not exclude Locked visibility. Attackers with an active partner relationship can call POST /api/sync/stream with PartnerAssetsV2 and PartnerAssetExifsV1 types to obtain GPS coordinates, capture times, descriptions and camera details.
- CVE-2026-105764High
Immich is a high-performance self-hosted photo and video management solution. Prior to 3.2.4, an authenticated non-admin user could upload SVG files that thumbnail-generation code in server/src/repositories/media.repository.ts passed to libvips. Files that bypassed libvips' native SVG loader fell through to ImageMagick, where attacker-controlled <image href> values reached unrestricted MSL and VIDEO coder operations. By storing one crafted asset and referencing its path from a second delayed-marker SVG, an attacker could execute code in the immich-server container when thumbnail processing ran. This issue is fixed in version 3.2.4.
- CVE-2026-103532Medium
A vulnerability has been found in immich-app Immich up to 2.7.5, affecting the checkSharedLinkAccess function in server/src/utils/access.ts within the Shared Link Preview Handler. Manipulation of the Password argument leads to improper authorization. The reported GitHub issue was closed as a duplicate.
Original NVD description (English source)
immich is a high performance self-hosted photo and video management solution. Prior to 1.132.0, immich is vulnerable to account hijacking through oauth2, because the state parameter is not being checked. The oauth2 state parameter is similar to a csrf token, so when the user starts the login flow this unpredictable token is generated and somehow saved in the browser session and passed to the identity provider, which will return the state parameter when redirecting the user back to immich. Before the user is logged in that parameter needs to be verified to make sure the login was actively initiated by the user in this browser session. On it's own, this wouldn't be too bad, but when immich uses the /user-settings page as a redirect_uri, it will automatically link the accounts if the user was already logged in. This means that if someone has an immich instance with a public oauth provider (like google), an attacker can - for example - embed a hidden iframe in a webpage or even just send the victim a forged oauth login url with a code that logs the victim into the attackers oauth account and redirects back to immich and links the accounts. After this, the attacker can log into the victims account using their own oauth credentials. This vulnerability is fixed in 1.132.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

