Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as invited album editor
-
ExploitCall DELETE /api/albums/:id/user/:owner to remove owner members
-
ExecutionCall PATCH /api/albums/:id/user/self with role=owner
-
ImpactLock out original owner or delete album
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account that has been granted Editor access to a specific shared album on a multi-user Immich instance where album sharing is in use (per CVSS PR:L). The privilege-escalation step abuses PATCH /api/albums/:albumId/user/:userId with {"role":"owner"}, which Permission.AlbumShare (held by Editors) wrongly permits; the owner-removal step abuses DELETE /api/albums/:albumId/user/:ownerId and, per the advisory, requires at least two Owner-role members so the 'cannot remove the last album owner' guard does not block it. Limiting factors: the attacker must first be invited as an Editor, the impact is scoped to albums they can reach (S:U, single album at a time), and single-user or non-shared deployments are not exposed. No user interaction and no special non-default configuration beyond having shared albums is needed. |
| Impact | This is a genuine but access-gated priority, not an internet-wide emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) confirms a network-reachable, low-complexity attack requiring no user interaction, but PR:L means the attacker must already be an authenticated user holding Editor access to a shared album - this is the central limiting factor and the reason it is not PR:N. No KEV listing is present, so there is no confirmed active exploitation, and no EPSS score was supplied in the input, so probabilistic exploitation likelihood cannot be quantified here. The vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency flaw. A detailed public PoC reference exists in the GHSA advisory (concrete PATCH/DELETE HTTP requests), which raises practical risk, but it is an advisory write-up rather than confirmed packaged exploit tooling. The high CVSS 8.8 reflects full Confidentiality/Integrity/Availability impact scoped to the targeted album; however the real-world blast radius is one shared album at a time and depends on the attacker already being an invited collaborator, so this reads as a legitimate broken-access-control bug rather than a mass-exploitable remote takeover. No signals are directly conflicting; the main gap is the absent EPSS value. |
| Exploit ScenarioDerived | An Immich instance is shared among several users, and a victim invites a collaborator to a photo album with Editor rights. The malicious editor calls the member-management API to demote or remove the album's Owner, then promotes their own account to Owner, after which they can lock out the original owner and permanently delete the album. A public PoC reference with the exact HTTP requests is documented in the vendor advisory, and the attack is low-complexity once Editor access has been granted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Immich prior to 3.0.3 allows an authenticated user holding Editor access on a shared album to escalate to the Owner role and to evict existing owners, producing a full album takeover - ownership seizure, removal of the original owner, and possible album deletion. The flaw is an improper privilege management and authorization-bypass pair (CWE-269 / CWE-639) in the album member endpoints: an Editor can PATCH their own membership to {"role":"owner"} and, when at least two owners exist, DELETE an Owner-role member. Exploitation requires an account already invited as Editor on a specific shared album (CVSS PR:L), so single-user or non-shared deployments are not exposed; there is no KEV listing and the priority label is this_week, but a public PoC reference (raw HTTP requests) is published in the vendor security advisory and has not been verified as working exploit code.
RemediationAI
Vendor-released patch: Immich 3.0.3 - upgrading to v3.0.3 or later is the fix, and the release at https://github.com/immich-app/immich/releases/tag/v3.0.3 plus the advisory at https://github.com/immich-app/immich/security/advisories/GHSA-c9mf-h82r-8p4j document it; the upstream commit 84dff19ca9a467752d848ff54763d62c04ebf960 (PR 29883) adds a guard that rejects a role change targeting the album owner with 'User is owner', mirroring the block already present on the add-user path, and adds end-to-end coverage for the Editor-tries-to-change-an-owner case. Because the fix is the only complete remedy described by the vendor, the interim option is to audit existing shared albums and downgrade or remove Editor grants held by untrusted accounts, since Editors are precisely the prerequisite for both steps; the trade-off is that this disables collaborative editing for those users. Restricting album sharing to trusted groups likewise limits reach but removes the sharing workflow; single-user and non-shared deployments require no compensating action since they are not exposed. After upgrading, review album membership lists for unexpected Owner-role entries or missing owners, which would indicate that the escalation was exercised.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Immich is a self-hosted photo and video management server written in TypeScript on NestJS, and the affected surface is its album sharing subsystem. Album membership is modelled with roles (Owner, Editor, Viewer) stored in an album-user relation, and endpoints are gated by a permission check: Permission.AlbumShare, which Editors already satisfy. Two gaps compound: the updateUser handler in server/src/services/album.service.ts persists the caller-supplied dto.role without rejecting AlbumUserRole.Owner, even though the sibling addUsers path blocks exactly that value, and the Zod DTO schema in album.dto.ts accepts 'owner' as a legal enum member; separately, removeUser only refuses to delete the last remaining owner and never inspects the role of the target, so an Editor can delete any owner provided a second owner keeps the album above the last-owner guard. The CWE mapping reflects both classes - improper privilege management (CWE-269) for the role write and authorization bypass through a user-controlled key (CWE-639) for the removal, since the target userId comes straight from the URL. The CPE cpe:2.3:a:immich-app:immich:*:*:*:*:*:*:*:* covers the whole product line before the fix; an independent assessment scores the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H, treating confidentiality as low while keeping integrity and availability high because the escalation is confined to a single album scope rather than the whole instance. The trigger and the exact request sequence are documented in the GHSA advisory.
Know when Immich gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network API, low complexity, no UI; PR:L because the attacker must already hold album Editor rights; C:L since an editor already reads album contents, while I:H/A:H reflect role takeover and album deletion.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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. This vulnerability is fixed in version 3.0.3.
Technical POC Analysis
Two broken-access-control defects in the same file, server/src/services/album.service.ts (Immich server, TypeScript).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-77439 is a high-severity flaw in Immich (prior to 3.0.3) that allows a user with Editor access on a shared album to seize ownership and remove existing owners, enabling full album takeover including deletion. This affects organizations using Immich shared albums with collaborators, putting sensitive photo and media libraries at risk of unauthorized control and data loss. Leadership should care because trusted internal or external editors can escalate privileges and disrupt or destroy shared content.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict Editor access to trusted users only, audit shared album membership regularly, monitor logs for unauthorized role changes or deletions, and implement network-level restrictions or reverse proxy rules to block suspicious PATCH/DELETE requests to album member endpoints if feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Album ownership takeover in immich before 3.0.3 allows a user with shared-album editor access to escalate to full owner
Immich versions prior to 2.5.0 contain an improper access control flaw that allows any authenticated API key to escalate
Reflected cross-site scripting in Immich (commits 4ffa26c9 through pre-4eb1003) allows a single-click account takeover o
Authenticated partners in Immich through 3.3.1 can read metadata from assets stored in another user's Locked Folder - in
Remote code execution in Immich before 3.2.4 lets any authenticated non-admin user with upload permission run arbitrary
Locked asset visibility bypass in Immich through 3.1.0 exposes private photo and video assets to unauthorized viewers vi
Improper authorization in Immich's Shared Link Preview Handler (server/src/utils/access.ts, function checkSharedLinkAcce
Unauthenticated filesystem path injection in Immich's machine-learning service (vulnerable through 3.0.3, fixed in 3.3.0
Immich prior to version 2.6.0 discloses shared album passwords in cleartext within URL query parameters during authentic
Stored Cross-Site Scripting in Immich photo management platform versions prior to 2.7.0 enables authenticated attackers
Open redirect vulnerability in Immich prior to version 2.7.3 allows authenticated attackers to craft malicious shared al
Immich before 3.0.0 leaks the GPS coordinates and asset identifiers of a sharer's archived photos and videos to view-onl
EUVD-2026-117614
NVD
CVE.org
EPSS
GitHub
Exploit-DB