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

High 8.3 Published Updated

Unauthenticated attackers can write or delete arbitrary JSON files on Windows via path traversal in model registration, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-112051?

CVE-2026-112051 is a high-severity path traversal vulnerability in xorbitsai inference, published on 18 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-22

Which versions are affected by CVE-2026-112051?

How do I fix CVE-2026-112051?

No fix has been published for CVE-2026-112051 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-112051 being exploited?

There is no known exploitation of CVE-2026-112051 in the wild and no public exploit code.

Sources

Also known as GHSA-xhc4-qrhj-p2jj.

Is CVE-2026-112051 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free