5.1medium
immich: Open Redirect via Shared Album name
- Severity
- 5.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| immich-app immich | < 2.7.3 | CVE List |
| futo immich | before 2.7.3 | NVD |
All scores
| GitHub_M | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40096 changed 2026-04-15 | CVE Terms of Use |
| NVD | CVE-2026-40096 changed 2026-06-17 | Public domain |