CVE-2026-105764

Immich: Authenticated SVG upload reaches ImageMagick coders and enables RCE

Published Oct 5, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
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 &lt;image href&gt; 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.

Analysis

AI-generated

Technical impact

A flaw in Immich’s thumbnail‑generation pipeline allows an authenticated non‑admin user to upload specially crafted SVG files. When the server processes these files with libvips, some SVGs bypass the native loader and are passed to ImageMagick. Untrusted <image href> values then reach ImageMagick’s MSL and VIDEO coders, enabling execution of arbitrary commands within the Immich‑server container. The vulnerability is a classic code injection (CWE‑94) and can compromise confidentiality, integrity, and availability of the host system.

Affected Systems

The vulnerability affects all instances of Immich prior to version 3.2.4. This includes every self‑hosted deployment of immich-app:immich that has not applied the update released in the 3.2.4 tag.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity impact. Because the EPSS score is not available, the exact likelihood of exploitation is unknown, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need legitimate user credentials but do not require administrative rights, making the exposure wide. The exploitation path involves creating a malicious SVG, storing it, and then referencing it from a second SVG that triggers thumbnail processing. Successful exploitation results in arbitrary code execution inside the container.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Immich to version 3.2.4 or later to apply the fix for the SVG processing flaw.
  • Immediately remove any SVG files that were uploaded prior to the update, especially those with suspicious <image href> references.
  • If an immediate upgrade is not possible, block or disable SVG file uploads in the Immich configuration until the software can be updated.

Generated by OpenCVE AI on October 6, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Immich-app
Immich-app immich
Vendors & Products Immich-app
Immich-app immich
Type Values Removed Values Added
Description 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 &lt;image href&gt; 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.
Title Immich: Authenticated SVG upload reaches ImageMagick coders and enables RCE
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 6, 2026, 5:59 PM
Reserved
Oct 5, 2026, 7:11 PM
Status
Deferred
Published
Oct 6, 2026, 12:16 AM
Modified
Oct 6, 2026, 7:17 PM