Code injection in Immich lets authenticated users run code via SVG
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Immich before 3.2.4 is affected. Its thumbnail generation passes SVG files uploaded by authenticated non-admin users to libvips and then ImageMagick, where attacker-controlled image references reach unrestricted coder operations, which is a code injection flaw (CWE-94). An attacker who stores a crafted SVG asset and triggers thumbnail processing can execute code in the immich-server container.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Immich is a high-performance self-hosted photo and video management solution. Prior to 3.2.4, an authenticated non-admin user could upload SVG files that thumbnail-generation code in server/src/repositories/media.repository.ts passed to libvips. Files that bypassed libvips' native SVG loader fell through to ImageMagick, where attacker-controlled <image href> values reached unrestricted MSL and VIDEO coder operations. By storing one crafted asset and referencing its path from a second delayed-marker SVG, an attacker could execute code in the immich-server container when thumbnail processing ran. This issue is fixed in version 3.2.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| immich-app | immich | before 3.2.4 | 3.2.4 | Patch available | CNA |
- immich Vendorimmich-app Affected before 3.2.4 Fixed in 3.2.4 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:futo:immich:*:*:*:*:*:*:*:* | — | — | immich-app |
- cpe:2.3:a:futo:immich:*:*:*:*:*:*:*:* Versions — — ·immich-app
Remediation
Upgrade Immich to version 3.2.4, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA immich (immich-app) Fixed in 3.2.4
Timeline
- 2026-10-06 Threatist record created from CVE-2026-105764
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Priority changed: MEDIUM → HIGH
References
More immich-app vulnerabilities
- TI-2026-38703 immich: One-click account takeover via XSS in login page continue redirect CVSS 3.1CRITICAL 9.6
- TI-2026-19252 immich API Key Privilege Escalation vulnerability CVSS 3.1HIGH 8.8
- TI-2026-65721 immich-app Immich Shared Link Preview access.ts checkSharedLinkAccess improper authorization CVSS 4.0MEDIUM 6.9
- TI-2026-83367 Unauthenticated path injection in Immich machine-learning service CVSS 3.1MEDIUM 6.5
- TI-2025-28440 immich allows account hijacking through oauth2 CVSS 4.0HIGH 7.3
- TI-2026-42398 immich < 3.0.3 Shared Album Editor Ownership Takeover via updateUser CVSS 4.0HIGH 7.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences