{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40096 exists.","fix":"No fix has been published for CVE-2026-40096 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-40096 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40096 exists.\n\nAffected product: immich-app immich. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40096/ (Markdown: https://insights.sbomify.com/CVE-2026-40096/index.md)","id":"CVE-2026-40096","markdown":"https://insights.sbomify.com/CVE-2026-40096/index.md","name":"CVE-2026-40096","record":{"aliases":["GHSA-24fq-72x8-v7hm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Self-hosted photo manager","requires_auth":"low_privilege","summary":"An attacker can craft a shared album name to redirect victims to malicious sites, facilitating phishing attacks against immich users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"immich","vendor":"futo"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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 \u003cmeta\u003e 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 \u003cmeta property=\"og:title\"\u003e 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"immich: Open Redirect via Shared Album name","id":"CVE-2026-40096","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Step CA affected by an index out of bounds panic in TPM attestation EKU validation","id":"CVE-2026-40097"},"packages":[],"prev":{"headline":"nimiq-blockchain: network-libp2p untrusted peer can crash address book via empty peer contact addresses","id":"CVE-2026-40094"},"products":["immich"],"published":"2026-04-14","related":[{"cvss_score":7.3,"headline":"immich has Stored XSS via OCR Text in 360° Panorama Viewer","id":"CVE-2026-35455","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":7.2,"headline":"immich API Key Privilege Escalation vulnerability","id":"CVE-2026-23896","kev_date_added":null,"published":"2026-01-29"},{"cvss_score":6.3,"headline":"Information disclosure in immich","id":"CVE-2026-25118","kev_date_added":null,"published":"2026-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-15","vendors":["immich-app"]},"summary":"An attacker can craft a shared album name to redirect victims to malicious sites, facilitating phishing attacks against immich users.","url":"https://insights.sbomify.com/CVE-2026-40096/"}