Eval Injection Affecting xinference package, versions [,2.7.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.23% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-XINFERENCE-20158932
  • published27 Sept 2026
  • disclosed21 Aug 2026
  • creditUnknown

Introduced: 21 Aug 2026

CVE-2026-61539  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade xinference to version 2.7.0 or higher.

Overview

xinference is a powerful and versatile library designed to serve language, speech recognition, and multimodal models. With Xorbits Inference, you can effortlessly deploy and serve your or state-of-the-art built-in models using just a single command. Whether you are a researcher, developer, or data scientist, Xorbits Inference empowers you to unleash the full potential of cutting-edge AI models.

Affected versions of this package are vulnerable to Eval Injection via the extract_tool_calls function. An attacker can execute arbitrary code on the server by submitting crafted input to the chat completion API, which is then processed using an unsafe evaluation method.

CVSS Base Scores

version 4.0
version 3.1