CVE-2026-61539

10.0

xorbitsai · inference

An improper neutralization of directives vulnerability in Xinference allows unauthenticated remote attackers to execute arbitrary commands via crafted tool-call prompts.

Executive summary

A critical code injection vulnerability in xorbitsai inference allows unauthenticated remote attackers to execute arbitrary commands on the host server.

Vulnerability

This is an improper neutralization of directives vulnerability (CWE-95) where the application passes attacker-influenced input directly to the eval function. An unauthenticated remote attacker can supply a malicious prompt to the chat completion API, resulting in arbitrary code execution within the server process context.

Business impact

The ability for an unauthenticated attacker to execute arbitrary commands poses a severe risk to organizational infrastructure. Successful exploitation could lead to full system compromise, unauthorized data exfiltration, or the deployment of persistent threats within the internal network. With a CVSS score of 10.0, this represents the highest level of urgency for remediation.

Remediation

Immediate Action: Upgrade xorbitsai inference to version 2.7.0 or later immediately to eliminate the vulnerable code path.

Proactive Monitoring: Review application access logs for suspicious prompts containing Python-like syntax or unexpected tool-call patterns.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules designed to detect and block malicious payloads directed at the /v1/chat/completions endpoint.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability is critical and requires immediate patching. Organizations should prioritize updating their Xinference deployments to version 2.7.0 to prevent potential remote code execution and full system takeover.