{"id":"CVE-2026-112051","summary":"Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration","details":"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.","modified":"2026-10-21T02:55:50.441595532Z","published":"2026-10-18T12:19:43.049Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112051.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112051.json"},{"type":"PACKAGE","url":"https://github.com/xorbitsai/inference"},{"type":"ARTICLE","url":"https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/cache_manager.py#L117-L134"},{"type":"ARTICLE","url":"https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/utils.py#L1175-L1182"},{"type":"FIX","url":"https://github.com/xorbitsai/inference/commit/beddc97ac211f8414597fe8479493be0603f7c84"},{"type":"REPORT","url":"https://github.com/xorbitsai/inference/issues/5702"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112051"},{"type":"PACKAGE","url":"https://pypi.org/project/xinference/"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/xinference-through-4.0.1-path-traversal-via-model-name-in-custom-model-registration"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xorbitsai/inference","events":[{"introduced":"0"},{"last_affected":"442d4e7ecf224c392b40dde082329392e64b6e3c"},{"fixed":"beddc97ac211f8414597fe8479493be0603f7c84"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.0.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"beddc97ac211f8414597fe8479493be0603f7c84"}]}]}}],"versions":["v4.0.1","v4.0.0","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.1.0.rc1","v3.0.0","v2.12.0","v2.11.0","v2.10.0","v2.9.0","v2.8.0","v2.7.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.17.0","v1.16.0","v1.15.0","v1.14.0","v1.13.0","v1.12.0","v1.11.0.post1","v1.11.0","v1.10.1","v1.10.0","v1.9.1","v1.9.0","v1.8.1.rc1","v1.8.1","v1.8.0","v1.7.1.post1","v1.7.1","v1.7.0.post1","v1.7.0","v1.6.1","v1.6.0.post1","v1.6.0","v1.5.1","v1.5.0.post1","v1.5.0","v1.4.1","v1.4.0","v1.3.1.post1","v1.3.1","v1.3.0.post2","v1.3.0.post1","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.1","v1.0.0","v0.16.3","v0.16.2","v0.16.1","v0.16.0","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.4.post1","v0.14.4","v0.14.3","v0.14.2","v0.14.1.post1","v0.14.1","v0.14.0.post1","v0.14.0","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.3","v0.12.2.post1","v0.12.2","v0.12.1","v0.12.0","v0.11.3","v0.11.2.post1","v0.11.2","v0.11.1","v0.11.0","v0.10.3","v0.10.2.post1","v0.10.2","v0.10.1","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.5","v0.8.4","v0.8.3.1","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.5","v0.7.4.1","v0.7.4","v0.7.3.1","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112051.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}