Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-61539— Xinference: Remote code execution via unsafe `eval()` in Llama3 tool-call parsing

Quick assessment

Affected
xorbitsai inference
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Xorbits Inference是Xorbits团队开源的一个功能强大且用途广泛的库,专为语言、语音识别和多模态模型而设计。 Xorbits Inference 2.5.0及之前版本存在代码注入漏洞,该漏洞源于在xinference/model/llm/tool_parsers/llama3_tool_parser.py和xinference/model/llm/utils.py中,将攻击者影响的Llama3工具调用输出传递给eval()函数求值,可能导致未经身份验证的远程攻击者通过特制提示词在服务器进

CVSS 10.0 · Critical EPSS 1.23% · P68

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
xorbitsai inference < 2.7.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61539

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Xinference: Remote code execution via unsafe `eval()` in Llama3 tool-call parsing
Source: CVE Program / CVE List V5
Vulnerability Description
Xinference is an inference API for running open-source, speech, and multimodal models. In 2.5.0 and earlier, Xinference passes attacker-influenced Llama3 tool-call output to eval() in xinference/model/llm/tool_parsers/llama3_tool_parser.py and xinference/model/llm/utils.py. Requests to /v1/chat/completions with a tools field flow through xinference/api/restful_api.py, xinference/model/llm/transformers/core.py, handle_chat_result_non_streaming(), and _post_process_completion() before extract_tool_calls() or _eval_llama3_chat_arguments() evaluates the model-generated Python expression. An unauthenticated remote attacker can influence that output through a crafted prompt and execute commands in the Xinference server process context. This issue is fixed in version 2.7.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Xorbits Inference 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Xorbits Inference是Xorbits团队开源的一个功能强大且用途广泛的库,专为语言、语音识别和多模态模型而设计。 Xorbits Inference 2.5.0及之前版本存在代码注入漏洞,该漏洞源于在xinference/model/llm/tool_parsers/llama3_tool_parser.py和xinference/model/llm/utils.py中,将攻击者影响的Llama3工具调用输出传递给eval()函数求值,可能导致未经身份验证的远程攻击者通过特制提示词在服务器进
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
xorbitsai inference < 2.7.0 -

II. Public POCs for CVE-2026-61539

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6093 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-61539

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-61539 (2)

Vendor Advisories for CVE-2026-61539 (1)

Vendor Pages for CVE-2026-61539 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-61539

No comments yet


Leave a comment