The immich-app Immich machine-learning service accepts requests to the /predict endpoint without authentication. Its request options object is passed into model construction without adequately restricting security-sensitive parameters, allowing an attacker to control cache_dir. That value is used as the write target for model downloads; after selected model-loading or parsing failures, clear_cache() can pass the same path to shutil.rmtree(), resulting in recursive deletion of an attacker-selected directory. The practical outcome depends on the machine-learning process permissions, mounted directories, and network reachability of the service. The model-name allowlist limits the scope of the issue and prevents it from becoming arbitrary-model deserialization or code execution. The available evidence does not establish that every deployment exposes the machine-learning endpoint to an untrusted network.