CVE-2026-112051
Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration
- State
- Published
- Severity
- 8.3 High
- Published
- Oct 18, 2026
- Updated
- Oct 19, 2026
- Reserved
- Oct 18, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.3 High | 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 | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
inferencexorbitsai |
|
References
- https://github.com/xorbitsai/inference/issues/5702issue-tracking
- https://github.com/xorbitsai/inference/commit/beddc97ac211f8414597fe8479493be0603f7c84patch
- https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/utils.py#L1175-L1182technical-description
- https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/cache_manager.py#L117-L134technical-description
- VulnCheck Advisory: Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registrationthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.