Album ownership privilege escalation in immich-app Immich

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-77439?

CVE-2026-77439 is a vulnerability classified as Improper Privilege Management and Authorization Bypass Through User-Controlled Key, affecting immich (affected versions: < 3.0.3). This vulnerability is rated High, with a CVSS score of 8.8. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

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.

Affected products and scope

  • The supplied CVE record identifies immich-app Immich as affected before < 3.0.3 and identifies 3.0.3 as the fixed version.
  • The CNA's GitHub advisory currently lists the narrower affected boundary <= 3.0.0 and the patched version v3.0.3.
  • These affected boundaries are not fully consistent. Deployments below 3.0.3 should therefore be treated as requiring review; the status of versions greater than 3.0.0 but less than 3.0.3 should not be assumed safe without confirmation from the vendor's release guidance.
  • The relevant deployment condition is an instance that uses shared albums and grants editor access to album members.

Technical details

immich-app Immich does not adequately protect owner-role members in shared album membership operations. The updateUser path allows an editor to change the role of a targeted member, while the removeUser path allows an editor to target an owner without requiring the corresponding album-administration permission. The relevant endpoints are PATCH /api/albums/:albumId/user/:userId and DELETE /api/albums/:albumId/user/:ownerId.

At a high level, the attack sequence is:

  1. An authenticated user with editor access targets a member of a shared album.
  2. The editor demotes the current owner or changes a member role, then promotes themselves to owner.
  3. As an owner, the attacker can remove the original owner and delete the album.

The weakness combines improper privilege management with an authorization bypass involving a user-controlled member key. The available evidence confirms album-level takeover, but does not establish system-wide administrator access, server-side code execution, or access to unrelated albums.

Exploitability

The vulnerability is reachable over the network on an Immich instance that uses shared albums. Exploitation requires an authenticated account with editor access to the target album; no additional victim interaction is required, and the described attack has low complexity.

The supplied record marks public exploit material as available, and the CNA advisory includes proof-of-concept examples for role-update and member-removal requests. The reviewed evidence does not establish active exploitation, a named campaign, a named victim, or a specific threat actor.

Technical impact

The direct technical outcome is that an editor can escalate to owner of a shared album and perform membership operations beyond the intended role. The attacker can remove a legitimate owner, retain control of the album, and delete it, causing loss of album management and organization.

The record describes confidentiality, integrity, and availability consequences within the album and application scope. It does not establish escalation to system-wide administration, host access, code execution, or impact to albums outside the attacker's authorized scope.

Business impact

The flaw can change control of a shared album without approval from the original owner. An attacker may lock the legitimate owner out of the album, disrupt collaboration, and delete the album's organizational structure.

The directly supported consequences are loss of album-management integrity and availability, together with weakened access governance for shared content. An editor becoming an owner can also undermine administrative review and ownership processes for collaborative albums. The available evidence does not show that the flaw by itself grants full Immich administration or server-side code execution.

Remediation

  1. Upgrade immich-app Immich to 3.0.3, the version identified as fixed by both the supplied record and the advisory.
  2. Because the normalized affected range and the current advisory boundary do not fully agree, separately verify deployments greater than 3.0.0 but less than 3.0.3 against vendor guidance. Do not infer that an unverified branch is fixed merely because 3.0.3 is patched.
  3. Review shared albums and restore owner roles, membership, or access permissions if unauthorized changes are found.
  4. Examine request and administrative history for editor-driven owner-role changes, owner removal, or album deletion.
  5. The reviewed sources do not document a vendor-confirmed workaround. Do not treat temporary access restrictions as a replacement fix unless they are tested and validated.

Detection

  1. Inventory Immich instances and record the deployed version, prioritizing instances that enable shared albums.
  2. Identify shared albums with multiple members and review their current owners, member roles, and recent membership changes.
  3. If request logging is enabled, review requests to PATCH /api/albums/:albumId/user/:userId and DELETE /api/albums/:albumId/user/:ownerId, focusing on editor-authenticated requests, attempts to set a role to owner, and requests targeting an existing owner.
  4. Check for owners who were demoted or removed, and for albums deleted outside the normal administrative process.
  5. These request patterns are precautionary monitoring guidance derived from the documented behavior, not vendor-confirmed IOCs. The absence of suspicious log entries does not prove that an instance is safe.
Sources (15)
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.