Credential phishing via shared-album meta-tag injection
Published Apr 14, 2026 · Updated Apr 15, 2026
Open redirect in Immich before 2.7.3 allows remote authenticated users to redirect share-link visitors to an attacker-controlled site. The shared-album renderer in api.service.ts inserts the attacker-controlled album name into the content attribute of an og:title meta tag without HTML-attribute encoding, so an injected quote creates an http-equiv refresh directive. Exploitation requires a registered account to create and share the album and a victim to open its share link; the resulting redirect supports credential phishing but does not itself expose stored credentials.
Summary
What happened
Open redirect in Immich before 2.7.3 allows remote authenticated users to redirect share-link visitors to an attacker-controlled site. The shared-album renderer in api.service.ts inserts the attacker-controlled album name into the content attribute of an og:title meta tag without HTML-attribute encoding, so an injected quote creates an http-equiv refresh directive. Exploitation requires a registered account to create and share the album and a victim to open its share link; the resulting redirect supports credential phishing but does not itself expose stored credentials.
The record
- CVE
- CVE-2026-40096
- Published
- Apr 14, 2026
- Updated
- Apr 15, 2026
- Vendor
- Immich
- Product
- Immich
- Classifications
- CWE-601, CWE-79, T1566.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 14, 2026CVE publishedPublication date reported by the CVE source.
- Apr 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.7.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-24fq-72x8-v7hm shared-album redirect proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo