CVE-2026-40096 immich: Open Redirect via Shared Album name
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
immich is a high performance self-hosted photo and video management solution. Versions prior to 2.7.3 contain an open redirect vulnerability in the shared album functionality, where the album name is inserted unsanitized into a <meta> tag in api.service.ts. A registered attacker can create a shared album with a crafted name containing 0;url=https://attackersite.com" http-equiv="refresh, which when rendered in the <meta property="og:title"> tag causes the victim's browser to redirect to an attacker-controlled site upon opening the share link. This facilitates phishing attacks, as the attacker could host a modified version of immich that collects login credentials from victims who believe they need to authenticate to view the shared album. This issue has been fixed in version 2.7.3.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| futo immich | < 2.7.3 | 2.7.3 | Fixed |
| immich-app immich | = < 2.7.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| immich-app immich | = < 2.7.3 | No fix listed |
| futo immich | < 2.7.3 | 2.7.3 |
References
- https://github.com/immich-app/immich/security/advisories/GHSA-24fq-72x8-v7hm exploit vendor-advisory
- https://github.com/immich-app/immich/releases/tag/v2.7.3 product release-notes