CVE-2026-119328
Immich is a high-performance self-hosted photo and video management …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626
- github.com/immich-app/immich/pull/31856
- github.com/immich-app/immich/releases/tag/v3.3.0
- github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679
- nvd.nist.gov/vuln/detail/CVE-2026-119328
- cve.org/CVERecord?id=CVE-2026-119328
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.