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.
Severity (CVSS)
| Base score | 8.3 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| xorbitsai | inference | 0 to <=4.0.1 [affected] |
References
- https://github.com/xorbitsai/inference/issues/5702 (issue-tracking)
- https://github.com/xorbitsai/inference/commit/beddc97ac211f8414597fe8479493be0603f7c84 (patch)
- https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/utils.py#L1175-L1182 (technical-description)
- https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/cache_manager.py#L117-L134 (technical-description)
- https://www.vulncheck.com/advisories/xinference-through-4.0.1-path-traversal-via-model-name-in-custom-model-registration (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Oct 2026 07:04 UTC.