GHSA-72rm-x7xr-v679: Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service

Published Oct 30, 2026
·
Updated

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/immichml/main.py accepted an options object and passed its values into model construction in machine-learning/immichml/models/base.py without restricting security-sensitive parameters. An attacker with network access to the service could set cachedir to an arbitrary writable path, causing model downloads to write there and causing clearcache() 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 Software

1 affected component
immich immich<3.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Immich to a version that resolves this vulnerability.

    Fixed in 3.3.0

Event History

Oct 30, 2026
CVE Published
via OSV·07:50 PM
Data Sourced
via OSV·07:50 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203