CVE-2026-53662: immich: One-click account takeover via XSS in login page continue redirect

Published Jun 23, 2026
·
Updated

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.

Affected Software

1 affected component
immich immich>=4ffa26c9<4eb1003

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade immich to a version that resolves this vulnerability.

    Patch 4eb1003
  2. Operational

    After upgrading immich to the fix commit 4eb1003, revoke any potentially attacker-minted all-permission API keys on affected accounts (payload uses the victim's existing session to mint an all-permission API key, leading to persistent takeover).

Event History

Jun 23, 2026
CVE Published
via MITRE·05:36 PM
Data Sourced
via MITRE·05:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53662?

CVE-2026-53662 has a critical severity score of 9.6.

2

How do I fix CVE-2026-53662?

To fix CVE-2026-53662, update your Immich installation to the latest version that addresses this vulnerability.

3

What vulnerability type is CVE-2026-53662 classified as?

CVE-2026-53662 is classified as a reflected cross-site scripting (XSS) vulnerability.

4

What can an attacker do with CVE-2026-53662?

An attacker can fully compromise any authenticated user's account with a single link click due to CVE-2026-53662.

5

In which software is CVE-2026-53662 found?

CVE-2026-53662 is found in the Immich photo and video management solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203