Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration
xorbitsai inference
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| xorbitsai inference |
| No fix yet |
Original description
Xinference through 4.0.1 contains a path traversal vulnerability on Windows that allows unauthenticated attackers to write and delete arbitrary .json files via backslash sequences in model_name. Attackers can register a persisted custom model through POST /v1/model_registrations/{model_type} with names like ..\..\evil to overwrite configuration or data files writable by the Xinference process.
From the CVE record · VulnCheck