CVE-2026-40096 immich: Open Redirect via Shared Album name
An attacker can craft a shared album name to redirect victims to malicious sites, facilitating phishing attacks against immich users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-40096?
CVE-2026-40096 is a medium-severity vulnerability in immich-app immich, published on 14 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2026-40096?
It affects 1 product.
Products include Futo Immich.
How do I fix CVE-2026-40096?
No fix has been published for CVE-2026-40096 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-40096 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40096 exists.
Other vulnerabilities in immich-app immich
Sources
Also known as GHSA-24fq-72x8-v7hm.