Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Xinference API port (default 9997/TCP)
-
DeliverySend POST /v1/models/llm/auto-register with attacker-controlled model_path
-
ExploitServer reads config.json or tokenizer_config.json at supplied path
-
ExecutionParsed file contents returned in HTTP response
-
ImpactExfiltrate credentials or sensitive configuration data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | No special conditions beyond network connectivity to the Xinference API port are required - the endpoint performs no authentication check. The file read is constrained to paths where files named config.json, tokenizer_config.json, or chat_template.jinja exist, so successful exfiltration requires the attacker to identify or enumerate valid directory paths containing these filenames. Deployments binding the API to 0.0.0.0 or a public interface without a network perimeter control (firewall, VPN, reverse proxy with auth) are directly exploitable; instances bound only to localhost or protected by network ACLs are not remotely exploitable. No specific Xinference feature flag or non-default configuration is needed - the auto-register endpoint is part of the standard v3.x API surface. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) is well-calibrated: exploitation requires only a crafted HTTP POST request with no authentication or precondition, and the confidentiality impact is high given that config.json files frequently contain API keys, database credentials, or model registry tokens. The constraint that only three specific filenames are readable partially limits the impact compared to a true arbitrary file read, but the filenames targeted are extremely common in ML and application configuration ecosystems, making successful exfiltration realistic. Even a mid-sized municipal IT team in sanok running an on-premises Xinference deployment for local AI workloads should treat this as urgent if the API port is not firewalled from untrusted networks. EPSS data is not provided in the input; no KEV listing or public POC has been identified, but the trivial attack complexity means exploitation would require minimal adversary capability once the endpoint is discovered. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a POST request to http://target:9997/v1/models/llm/auto-register with a JSON body containing model_path set to a targeted directory such as /home/ubuntu/.config/rclone/, and if a config.json file exists there, the server parses and returns its contents - potentially exposing cloud storage credentials or API tokens. By iterating over common paths (/root/, /etc/, application config directories, Hugging Face cache paths), the attacker can systematically map and exfiltrate sensitive configuration data using only a standard HTTP client. No exploit code has been publicly released, but the technique is trivially implementable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Unauthenticated arbitrary-path file read in Xinference v3.x (including commit 4a94832 and v3.3.0) exposes server filesystem content to any network-accessible attacker via the POST /v1/models/llm/auto-register endpoint. The endpoint accepts a caller-supplied model_path without authentication or path validation, reads config.json, tokenizer_config.json, and chat_template.jinja from that path, and reflects the parsed content in the HTTP response. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, but the zero-prerequisite network attack makes any internet-exposed Xinference instance immediately at risk.
RemediationAI
No vendor-released patched version has been independently confirmed at time of analysis. As an immediate compensating control, restrict network access to the Xinference API port (default 9997/TCP) using host-based firewall rules or reverse-proxy ACLs so that only trusted clients can reach POST /v1/models/llm/auto-register - this eliminates the unauthenticated remote attack vector without a code change, though it requires network policy enforcement. If the endpoint must remain accessible to multiple callers, place an authenticating API gateway (e.g., nginx with HTTP Basic or token auth) in front of Xinference and enforce authentication at the proxy layer; note this does not fix the underlying path traversal but prevents unauthenticated access. If the auto-register endpoint is not operationally required, disable it via application configuration or block the specific route at the proxy. Monitor https://github.com/xorbitsai/inference/issues/5176 and the upstream repository for a patched release, and upgrade immediately once available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Xinference is the open-source LLM inference server from Xorbits (xorbitsai), enabling deployment and serving of large language models. The affected code path is in xinference/model/llm/config_parser.py (confirmed at v3.3.0), where the auto-register endpoint constructs filesystem paths directly from user-supplied model_path input. The root cause class is CWE-73 (External Control of File Name or Path): no base-directory confinement, path canonicalization, or allowlist validation is applied before the server opens files at the attacker-controlled path. The CPE cpe:2.3:a:xorbitsai:inference:*:*:*:*:*:*:*:* indicates the full v3.x line is affected. Because ML model directories commonly contain config.json and tokenizer_config.json files throughout the Hugging Face model cache and application config trees, an attacker can systematically traverse common paths to exfiltrate credential-bearing or sensitive configuration files that happen to use those filenames.
Know when Inference gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
No authentication required, network-accessible endpoint; confidentiality-only impact constrained to specific filenames at attacker-supplied paths, no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Xinference (affected commit 4a94832, v3.x) contains an unauthenticated arbitrary-path file read vulnerability in the POST /v1/models/llm/auto-register endpoint, which accepts a caller-supplied model_path parameter without authentication or path confinement. The endpoint reads and parses config.json, tokenizer_config.json, and chat_template.jinja files at the supplied path and reflects the parsed content back to the caller, allowing an unauthenticated attacker to probe the server filesystem and extract content of files with those names in any directory.
Executive ViewAI
Xinference versions 3.x contain an unauthenticated file-disclosure vulnerability in the model auto-registration endpoint that allows attackers to read arbitrary files from the host filesystem. Any internet-exposed Xinference instance is immediately at risk of configuration data leakage, including model credentials and service metadata, with no vendor-released patch identified at time of analysis.
Restrict network access to the /v1/models/llm/auto-register endpoint via firewall rules or VPN requirement; disable the endpoint at the application level if not required for operations; deploy WAF rules to block or rate-limit POST requests to the vulnerable endpoint from external sources; isolate Xinference instances to internal networks only pending vendor patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in Xorbits Inference (Xinference) 2.5.0 and earlier lets a remote attacker run arbitrary OS comman
Remote code execution in Xinference (all versions before 2.12.0) allows any user with model-launch access to execute arb
Unauthenticated attackers can abuse the model-registration endpoint in Xinference through 4.0.1 on Windows to write or d
EUVD-2026-71124
GHSA-xhf8-q5pf-vp28
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB