immich: One-click account takeover via XSS in login page continue redirect
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-601 and CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| immich-app | immich | >= main@4ffa26c9, < main@4eb1003 | — | No fix listed | CNA |
- immich Vendorimmich-app Affected >= main@4ffa26c9, < main@4eb1003 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:futo:immich:*:*:*:*:*:*:*:* | — | — | immich-app |
- cpe:2.3:a:futo:immich:*:*:*:*:*:*:*:* Versions — — ·immich-app
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53662
References
More immich-app vulnerabilities
- TI-2026-19252 immich API Key Privilege Escalation vulnerability CVSS 3.1HIGH 8.8
- TI-2026-65721 immich-app Immich Shared Link Preview access.ts checkSharedLinkAccess improper authorization CVSS 4.0MEDIUM 6.9
- TI-2026-68375 Code injection in Immich lets authenticated users run code via SVG CVSS 4.0HIGH 7.7
- TI-2026-83367 Unauthenticated path injection in Immich machine-learning service CVSS 3.1MEDIUM 6.5
- TI-2025-28440 immich allows account hijacking through oauth2 CVSS 4.0HIGH 7.3
- TI-2026-42398 immich < 3.0.3 Shared Album Editor Ownership Takeover via updateUser CVSS 4.0HIGH 7.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences