CVEsimmich-appCVE-2026-119328Published Oct 30, 19:50 · Updated Oct 30, 19:50 UTC
6.5
MediumCVSS 3.1 · from GitHub_M
CVE-2026-119328

Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service

immich · Path traversal · CWE-22
Affectedimmich
FixNo fix listed yet.
PublishedOct 30, 19:50 · GitHub_M
ScoredOct 30 · 6.5 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:11 UTC

What we know

No known exploitation. CISA KEV, checked 22:11 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.

Description

Immich is a high-performance self-hosted photo and video management solution. Prior to 3.3.0, the unauthenticated machine-learning /predict endpoint in machine-learning/immich_ml/main.py accepted an options object and passed its values into model construction in machine-learning/immich_ml/models/base.py without restricting security-sensitive parameters. An attacker with network access to the service could set cache_dir to an arbitrary writable path, causing model downloads to write there and causing clear_cache() to pass that path to shutil.rmtree() after selected model-loading failures. Depending on filesystem permissions and the selected path, this could modify files in mounted data locations or recursively delete an attacker-selected directory. The model-name allowlist prevents this issue from becoming arbitrary-model deserialization or code execution. This issue is fixed in version 3.3.0.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inimmich< 3.3.0–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679 · github.comrefsource_CONFIRMgithub.com/immich-app/immich/pull/31856 · github.comrefsource_MISCgithub.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626 · github.comrefsource_MISCgithub.com/immich-app/immich/releases/tag/v3.3.0 · github.comrefsource_MISC

Other CVEs in immich

All 13 →
3.5Immich: A regular user can create SharedLink for album/asset belonging to another user through CreateSharedLink API · CVE-2026-119330Oct 304.3Immich: Partner "view-only" sharing leaks GPS coordinates of the sharer's archived assets via GET /api/map/markers · CVE-2026-119329Oct 304.3Immich through 3.3.1 Missing Authorization in Partner Sync Exposes Locked Folder Metadata · CVE-2026-108165Oct 10