{"id":"CVE-2026-119328","aliases":[],"cve":{"records":[{"id":"CVE-2026-119328","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T20:44:30.284Z","published":"2026-10-30T19:50:02.460Z","modified":"2026-10-30T19:50:02.460Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-30T19:50:02.460Z"}],"references":[{"url":"https://github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/immich-app/immich/pull/31856","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/immich-app/immich/releases/tag/v3.3.0","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","source":"GitHub_M"},{"id":"CWE-73","description":"CWE-73: External Control of File Name or Path","source":"GitHub_M"}],"applicability":[],"prioritization":[]},"title":"Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":6.5,"severity":"medium","published":"2026-10-30T19:50:02.460Z","modified":"2026-10-30T19:50:02.460Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"immich-app","name":"immich","platforms":[],"versions":[{"version":"< 3.3.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119328"}],"remediation":[],"references":["https://github.com/immich-app/immich/security/advisories/GHSA-72rm-x7xr-v679","https://github.com/immich-app/immich/pull/31856","https://github.com/immich-app/immich/commit/ab159b81182f26a8943f5dd66b719e8cdaad4626","https://github.com/immich-app/immich/releases/tag/v3.3.0"],"sources":[{"name":"CVE","id":"CVE-2026-119328","modified":"2026-10-30T19:50:02.460Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119328"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5}],"sourceAffected":[],"observedAt":"2026-10-30T21:09:04.244Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T11:55:30.958Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Immich versions prior to 3.3.0 have a vulnerability that allows an attacker with network access to write to arbitrary directories and delete files recursively. The issue is due to unauthenticated filesystem path injection in the machine-learning service. This could modify files or delete directories depending on filesystem permissions.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T05:21:16.753Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119328"}]}}