Vulnerability · Published Oct 18, 2026 · Assigned by VulnCheck
CVE-2026-112051Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration
Medium 6.5
In plain English
A medium-severity path traversal in inference from xorbitsai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
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
- VulnCheck Advisory: Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration third-party-advisory