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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-93348— Unsloth Zoo 通过config.json的model_type注入代码

一分钟漏洞结论

影响对象
unslothai unsloth-zoo
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Unsloth Zoo 在 2025.9.9 至 2026.8.14 之前版本(即 Unsloth 2025.9.9 至 2026.8.19 版本中实现的组件)存在代码注入漏洞。该漏洞位于模型加载的编译路径中, 文件中的 函数从嵌套的模型配置中收集 值时,未对字符进行白名单校验,导致换行符和任意 Python 源代码在规范化处理后仍能保留。 攻击者可在恶意模型的 文件中,于嵌套的 字段中嵌入一个换行符,从而终止生成的 import 语句,并通过 中的 执行任意 Python 代码。当该模型被加载用于训练或推理时,攻

CVSS 8.1 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Unsloth Zoo Code Injection via model_type in config.json
来源: CVE Program / CVE List V5
Vulnerability Description
Unsloth Zoo versions 2025.9.9 before 2026.8.14, as implemented in Unsloth 2025.9.9 through 2026.8.19, contains a code injection vulnerability in the model-loading compile path where the get_transformers_model_type() function in hf_utils.py collects model_type values from nested model configurations without enforcing a character allowlist, allowing newlines and arbitrary Python source to survive normalization. Attackers can embed a newline in a nested model_type value within a malicious model's config.json to terminate the generated import statement and execute arbitrary Python code via exec() in unsloth_compile_transformers(), achieving remote code execution as the loading user when the model is loaded for training or inference.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
unslothai unsloth-zoo 2025.9.9 ~ 2026.8.14 -
unslothai unsloth 2025.9.9 ~ 2026.8.20 -

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-93348 其他参考 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-93348

暂无评论


发表评论