目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-76841— Xinference 2.11.0 模型加载远程代码执行漏洞

一分钟漏洞结论

影响对象
xorbitsai inference
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Xinference 在未条件限制的情况下,通过启用 Hugging Face 的远程代码执行功能来加载模型,且在 2.12.0 版本之前,没有任何设置可以禁用该功能。六个加载点将 作为字面量或无条件默认值传递: 中的 中的 中的 中的 以及 中的两个站点,其中 和 将值默认设置为 由于具有模型启动权限的调用者可以注册未知类型的模型并提供任意模型路径,服务器会进入 方法,然后调用 ,这会导入并执行由模型目录中 的 声明的 Python 代码,从而以工作进程的特权运行攻击者提供的代码。在 2.12.0 版本中,所有相

CVSS 8.8 · High EPSS 0.71% · P51
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-76841 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Xinference through 2.11.0 Remote Code Execution via Hardcoded trust_remote_code in Model Loaders
来源: CVE Program / CVE List V5
Vulnerability Description
Xinference loads models with Hugging Face remote code execution unconditionally enabled, and before version 2.12.0 exposes no setting to disable it. Six loader call sites pass trust_remote_code=True as a literal or as an unconditional default: RerankModel._get_tokenizer in xinference/model/rerank/core.py, SentenceTransformerRerankModel.load in xinference/model/rerank/sentence_transformers/core.py, SentenceTransformerEmbeddingModel.load in xinference/model/embedding/sentence_transformers/core.py, FlagEmbeddingModel.load in xinference/model/embedding/flag/core.py, and two sites in xinference/model/llm/transformers/core.py where PytorchModel._sanitize_model_config and PytorchModel._get_components default the value to True. Because a caller with model launch access can register a model whose type is unknown and supply an arbitrary model path, the server reaches _auto_detect_type and then AutoTokenizer.from_pretrained, which imports and executes Python declared by the model directory's own tokenizer_config.json auto_map, running attacker-supplied code with the privileges of the worker process. Version 2.12.0 gates every site behind allow_trust_remote_code and the XINFERENCE_TRUST_REMOTE_CODE setting, permitting remote code only for bundled built-in models.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
xorbitsai inference 0 ~ 2.12.0 -

二、漏洞 CVE-2026-76841 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 6145 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-76841 的情报信息

登录查看更多情报信息。

CVE-2026-76841 补丁与修复 (2)

CVE-2026-76841 厂商安全公告 (1)

CVE-2026-76841 公开利用代码 (1)

CVE-2026-76841 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-76841

暂无评论


发表评论