{"id":"CVE-2026-40096","published":"2026-04-14T23:54:17Z","modified":"2026-04-15T16:19:07Z","title":"immich: Open Redirect via Shared Album name","vendor":"immich-app","product":"immich","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00209,"percentile":0.11327,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/immich-app/immich/security/advisories/GHSA-24fq-72x8-v7hm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/immich-app/immich/releases/tag/v2.7.3","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":2.27},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"immich-app","affectedVersions":[{"vendor":"immich-app","product":"immich","versions":["< 2.7.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-15T16:18:25.907356Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-22816","exploited":false,"provenance":"source"}}