CVE-2026-119328 Details
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.
A vulnerability in the Immich photo and video management solution, specifically in the machine learning service prior to version 3.3.0, allows for unauthenticated filesystem path injection. The '/predict' endpoint accepts an options object that can include a 'cache_dir' parameter. This parameter is not properly validated, enabling an attacker to specify an arbitrary writable directory. The vulnerability arises because the specified directory can be used to write downloaded model files and, in the event of a model loading failure, the directory can be recursively deleted using 'shutil.rmtree()'. This could lead to unauthorized modification or deletion of files, particularly in mounted data locations, depending on filesystem permissions.
Users can update to Immich version 3.3.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Nov 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626 | [email protected] | Source CodeVendor |
| https://github.com/immich-app/immich/pull/31856 | [email protected] | Source CodeVendor |
| https://github.com/immich-app/immich/releases/tag/v3.3.0 | [email protected] | Release NotesVendor |
| https://github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Immich | <= 3.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion