CVE Catalog

CVE-2026-119328

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.44%

38th percentile - higher than 38% of all known CVEs

Summary

In Immich before 3.3.0, the unauthenticated machine-learning /predict endpoint accepted an options object without restricting security-sensitive parameters. An attacker with network access could set cache_dir to an arbitrary writable path, causing model downloads to write there and clear_cache() to recursively delete an attacker-selected directory via shutil.rmtree().

Risk Assessment

An attacker may modify files in mounted data locations or delete selected directories, depending on filesystem permissions. The model-name allowlist prevents code execution.

Recommendation

Update Immich to version 3.3.0 or later and restrict network access to the machine-learning service.

Other vulnerabilities in Immich

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS