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

目标: 1000 元 · 已筹: 1310

100%

CVE-2026-4372— Hugging Face Transformers 安全漏洞

AI 预测 9.8 利用难度: 极易 EPSS 0.03% · P9

影响版本矩阵 1

厂商产品版本范围状态
huggingfacehuggingface/transformersunspecified< 5.3.0affected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Arbitrary Remote Code Execution via `_attn_implementation_internal` Config Injection in huggingface/transformers
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft a malicious `config.json` file containing the `_attn_implementation_internal` field set to an attacker-controlled HuggingFace Hub repository ID. When a victim loads this model using the standard `AutoModelForCausalLM.from_pretrained()` API, the library downloads and executes arbitrary Python code from the attacker's repository with the victim's full OS privileges. This issue arises due to unfiltered deserialization of configuration attributes, insufficient sanitization of internal fields, and unsandboxed execution of downloaded kernels. The vulnerability bypasses the `trust_remote_code` security mechanism, is invisible to the victim, and exploits the standard documented usage pattern, making it particularly severe. Users are advised to upgrade to version 5.3.0 or later to mitigate this issue.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
缺少序列化控件元素
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Hugging Face Transformers 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Hugging Face Transformers是Hugging Face开源的一个用于定义最先进机器学习模型的框架,涵盖文本、视觉、音频和多模态模型,可用于推理和训练。 Hugging Face Transformers 5.3.0之前版本存在安全漏洞,该漏洞源于配置属性的未过滤反序列化、内部字段清理不足以及下载内核的未沙箱执行,可能导致攻击者通过特制的config.json文件在受害者加载模型时下载并执行任意Python代码,绕过trust_remote_code安全机制。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
huggingfacehuggingface/transformers unspecified ~ 5.3.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-4372 补丁与修复 (1)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-4372

暂无评论


发表评论