Skip to main content

Xinference EUVDEUVD-2026-71124

| CVE-2026-85668 HIGH
External Control of File Name or Path (CWE-73)
2026-09-04 VulnCheck GHSA-xhf8-q5pf-vp28
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Xinference API port (default 9997/TCP)
  2. Delivery
    Send POST /v1/models/llm/auto-register with attacker-controlled model_path
  3. Exploit
    Server reads config.json or tokenizer_config.json at supplied path
  4. Execution
    Parsed file contents returned in HTTP response
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Inference 0 ≤3.3.0

Affected Packages

euvd inference no fix

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

No authentication required, network-accessible endpoint; confidentiality-only impact constrained to specific filenames at attacker-supplied paths, no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
specialized LLM inference server, niche ML deployment footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy