Vulnerability · Published Oct 30, 2026 · Assigned by GitHub_M
CVE-2026-119328Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service
Medium 6.5
In plain English
A medium-severity path traversal in immich from immich-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| immich-app | immich | < 3.3.0 |
Weakness: CWE-22, CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
References
- https://github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679 x_refsource_CONFIRM
- https://github.com/immich-app/immich/pull/31856 x_refsource_MISC
- https://github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626 x_refsource_MISC
- https://github.com/immich-app/immich/releases/tag/v3.3.0 x_refsource_MISC