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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-79784— Vocos through 0.1.0 Arbitrary Code Execution via Unrestricted class_path in Model Configuration

Quick assessment

Affected
gemelo-ai vocos
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.

Vocos 会根据配置文件实例化一个由其命名的类,但未限制可以实例化的类类型。在 中的 函数会从配置中获取 值,将其拆分为模块名和属性名,通过 导入该模块,然后使用 解析该属性,并以 的形式调用该对象,其中 来自配置中的 映射。由于没有对点分路径设置白名单限制,攻击者可以在配置中指定任意可导入的可调用对象,并提供其调用所需的参数。 Vocos 的 方法会对 、 和 这三个条目分别执行此逻辑;而 方法则可通过远程文件触发该逻辑:它会从用户指定的 Hugging Face 仓库下载 文件,并将其直接传入 。因此,如果用

CVSS 8.8 · High

Possible ATT&CK Techniques 1 AI

T1195 · Supply Chain Compromise

Affected Version Matrix 1

VendorProduct Version RangeStatus
gemelo-ai vocos ≤ 0.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-79784

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
Vocos through 0.1.0 Arbitrary Code Execution via Unrestricted class_path in Model Configuration
Source: CVE Program / CVE List V5
Vulnerability Description
Vocos instantiates a class named by a configuration file without restricting which class may be named. instantiate_class in vocos/pretrained.py takes the class_path value from the configuration, splits it into a module and an attribute, imports the module with __import__, resolves the attribute with getattr, and calls the result as args_class(*args, **kwargs) where kwargs is the config's own init_args mapping. No allowlist constrains the dotted path, so a configuration may name any importable callable and supply the arguments it is called with. Vocos.from_hparams reaches this for each of the feature_extractor, backbone and head entries, and Vocos.from_pretrained reaches it with a remote file: it downloads config.yaml from a caller-named Hugging Face repository and passes it straight to from_hparams. Loading a model from a repository the user does not control therefore executes code of the repository owner's choosing in the loading process. The neighbouring torch.load of the downloaded weights is a separate matter and is constrained on PyTorch releases that default weights_only to true, which leaves this path as the reachable one.
Source: 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:H
Source: CVE Program / CVE List V5
Vulnerability Type
使用外部可控制的输入来选择类或代码(不安全的反射)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
gemelo-ai vocos 0 ~ 0.1.0 -

II. Public POCs for CVE-2026-79784

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10539 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-79784

登录查看更多情报信息。

Vendor Advisories for CVE-2026-79784 (1)

Security Blog Posts for CVE-2026-79784 (1)

Other References for CVE-2026-79784 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-79784

No comments yet


Leave a comment