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.
Published: 2026-10-18
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: File write and deletion on Windows via model_name
Action: Patch Immediately
AI Analysis

Impact

The flaw allows an unauthenticated user to manipulate the model_name field in the POST /v1/model_registrations/{model_type} endpoint, causing a Windows path traversal that writes or deletes arbitrary .json files. Because the attacker can target configuration and data files that are writable by the Xinference process, the vulnerability can corrupt installation integrity and facilitate further compromise. The weakness is a classic CWE‑22 path traversal scenario.

Affected Systems

This issue affects the xorbitsai inference product on Windows for all releases up to and including version 4.0.1. Any installation running these versions without a patched update is vulnerable.

Risk and Exploitability

With a CVSS score of 8.3, the flaw is high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating it may not yet be widely exploited. Attackers can remotely exploit the flaw over HTTP by sending a malicious model_name value using backslashes and relative segments, such as '..\..\evil', to create or overwrite files writable by the Xinference process. Because no authentication is required, any network access to the endpoint can lead to exploitation.

Generated by OpenCVE AI on October 18, 2026 at 14:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version that incorporates the official fix for this path‑traversal issue, such as the release that includes the referenced commit.
  • If an upgrade is not possible, sanitize the model_name field by rejecting backslash characters and any relative path sequences (e.g., strings containing '..\' or '\') before processing the registration.
  • Add monitoring or logging for the model registration endpoint to detect and alert on suspicious model_name patterns like '..\', '\', or other traversal characters.

Generated by OpenCVE AI on October 18, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration
First Time appeared Xinference
Xinference xinference
Weaknesses CWE-22
CPEs cpe:2.3:a:xinference:xinference:*:*:*:*:*:*:*:*
Vendors & Products Xinference
Xinference xinference
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 8.3, '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'}


Subscriptions

Xinference Xinference
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-18T12:19:43.049Z

Reserved: 2026-10-18T11:48:40.708Z

Link: CVE-2026-112051

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T13:16:37.190

Modified: 2026-10-18T13:16:37.190

Link: CVE-2026-112051

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T14:15:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')