CVE-2026-112051: Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration

Published Oct 18, 2026
·
Updated

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 modelname. Attackers can register a persisted custom model through POST /v1/modelregistrations/{modeltype} with names like ..\..\evil to overwrite configuration or data files writable by the Xinference process.

Affected Software

1 affected component
Xinference Xinference<=4.0.1

Event History

Oct 18, 2026
CVE Published
via MITRE·12:19 PM
Data Sourced
via MITRE·12:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects Xinference through version 4.0.1 on Windows. It is reachable through the custom model registration endpoint when an unauthenticated remote attacker can send requests to it.

2

What does an attacker need to exploit the vulnerability?

An attacker needs network access to POST /v1/model_registrations/{model_type}; no authentication or user interaction is required. Exploitation requires crafting model_name with Windows backslash traversal sequences such as ..\..\evil.

3

What could an attacker change?

The attacker can write or delete arbitrary .json files that are writable by the Xinference process. This may allow overwriting configuration or data files within the process's write permissions.

4

What can be done while a fix is not available?

Restrict unauthenticated network access to the custom model registration endpoint, particularly from untrusted networks. Run the Xinference process with minimal filesystem permissions so it cannot write sensitive configuration or data locations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203