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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-76841— Xorbits Inference 代码注入漏洞

一分钟漏洞结论

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

Xorbits Inference是Xorbits团队开源的一个功能强大且用途广泛的库,专为语言、语音识别和多模态模型而设计。 Xorbits Inference 2.12.0之前版本存在代码注入漏洞,该漏洞源于Hugging Face远程代码执行无条件启用且无法关闭,模型加载器将trust_remote_code参数默认设置为True,可能导致拥有模型启动权限的攻击者通过上传恶意模型执行任意代码。

CVSS 8.8 · High EPSS 1.03% · P63

影响版本矩阵 1

厂商产品 版本范围状态
xorbitsai inference < 2.12.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 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
Vulnerability Title
Xorbits Inference 代码注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Xorbits Inference是Xorbits团队开源的一个功能强大且用途广泛的库,专为语言、语音识别和多模态模型而设计。 Xorbits Inference 2.12.0之前版本存在代码注入漏洞,该漏洞源于Hugging Face远程代码执行无条件启用且无法关闭,模型加载器将trust_remote_code参数默认设置为True,可能导致拥有模型启动权限的攻击者通过上传恶意模型执行任意代码。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 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

暂无评论


发表评论