{"id":"CVE-2026-119328","aliases":["CVE-2026-119328"],"related":[],"kind":"vulnerability","state":"published","title":"Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T19:50:02.460Z","modified":"2026-11-06T18:17:57.920Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":"< 3.3.0","status":"affected"}],"vendor":"immich-app","product":"immich","source":"cvelist"}],"references":[{"url":"https://github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/immich-app/immich/pull/31856","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/immich-app/immich/releases/tag/v3.3.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-06T17:37:27.260Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119328","url":"https://www.cve.org/CVERecord?id=CVE-2026-119328","licence":"CVE Terms of Use","modified":"2026-11-06T17:38:35.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119328","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119328","licence":"Public domain","modified":"2026-11-06T18:17:57.920Z"}],"updatedAt":"2026-11-25T22:59:48.013Z","epss":{"score":0.00518,"percentile":0.45514,"date":"2026-12-01T12:00:22.000Z"}}