CVE-2026-53662
immich: One-click account takeover via XSS in login page continue redirect
Description
immich is a high performance self-hosted photo and video management solution. From commit 4ffa26c9 until 4eb1003, a reflected cross-site scripting (XSS) vulnerability on the /auth/login page allows an attacker to fully compromise any authenticated user's account with a single link click. The continue query parameter is read from the URL and passed to SvelteKit's redirect() without any scheme or origin validation, allowing attacker-controlled JavaScript to execute inside Immich's origin. The payload then uses the victim's existing session to mint an all-permission API key on their account, leading to persistent account takeover. This vulnerability is fixed in commit 4eb1003.
INFO
Published Date :
June 23, 2026, 6:18 p.m.
Last Modified :
Oct. 25, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update Immich to the fixed version.
- Remove any potentially compromised API keys.
- Educate users about phishing and suspicious links.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53662.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53662 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53662
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53662 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53662 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: immich de immich-app, Description: immich es una solución de alto rendimiento autoalojada para gestión de fotos y videos. Desde el commit 4ffa26c9 hasta el 4eb1003, una vulnerabilidad de cross-site scripting (XSS) reflejado en la página /auth/login permite a un atacante comprometer completamente la cuenta de cualquier usuario autenticado con un solo clic en un enlace. El parámetro de consulta continue se lee de la URL y se pasa a redirect() de SvelteKit sin ninguna validación de esquema u origen, permitiendo que JavaScript controlado por el atacante se ejecute dentro del origen de Immich. La carga útil luego utiliza la sesión existente de la víctima para generar una clave API con todos los permisos en su cuenta, lo que lleva a una toma de control persistente de la cuenta. Esta vulnerabilidad está corregida en el commit 4eb1003. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 23, 2026
Action Type Old Value New Value Added Reference https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c Added SSVC {'id': 'CVE-2026-53662', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-23T18:28:22.156497Z'} -
New CVE Received by [email protected]
Jun. 23, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'immich-app', 'product': 'immich', 'versions': [{'status': 'affected', 'version': '>= main@4ffa26c9, < main@4eb1003'}]}] Added Description immich is a high performance self-hosted photo and video management solution. From commit 4ffa26c9 until 4eb1003, a reflected cross-site scripting (XSS) vulnerability on the /auth/login page allows an attacker to fully compromise any authenticated user's account with a single link click. The continue query parameter is read from the URL and passed to SvelteKit's redirect() without any scheme or origin validation, allowing attacker-controlled JavaScript to execute inside Immich's origin. The payload then uses the victim's existing session to mint an all-permission API key on their account, leading to persistent account takeover. This vulnerability is fixed in commit 4eb1003. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-79 Added CWE CWE-601 Added Reference https://github.com/immich-app/immich/commit/4eb100327ea5da2e90381b96809f1f1cc51cc7e3 Added Reference https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c