{"id":"CVE-2026-112051","revision":"2d6cf6ef14fe4d00b1748893d334dec5","records":[{"revision":"2d6cf6ef14fe4d00b1748893d334dec5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112051","aliases":[],"title":"Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration","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.","state":0,"publishedAt":"2026-10-18T12:19:43.049+00:00","modifiedAt":"2026-10-19T16:38:08.267+00:00","affected":[{"ecosystem":"https://pypi.org/project/xinference/","name":"inference","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"xorbitsai\",\n                    \"product\": \"inference\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"4.0.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:pypi/xinference\",\n                    \"collectionURL\": \"https://pypi.org/project/xinference/\",\n                    \"repo\": \"https://github.com/xorbitsai/inference\"\n                }"}],"metrics":[{"system":"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","score":8.3,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/xorbitsai/inference/issues/5702","https://github.com/xorbitsai/inference/commit/beddc97ac211f8414597fe8479493be0603f7c84","https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/utils.py#L1175-L1182","https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/cache_manager.py#L117-L134","https://www.vulncheck.com/advisories/xinference-through-4.0.1-path-traversal-via-model-name-in-custom-model-registration"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112051","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112051","identifiers":["CVE-2026-112051"]},"retained":false,"historicalAffected":[]}],"coverage":[]}