<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Vocos - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/vocos/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 25 Aug 2026 18:10:16 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/vocos/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Arbitrary Code Execution in Vocos via Unrestricted Class Instantiation</title><link>https://feed.craftedsignal.io/briefs/2026-08-vocos-rce/</link><pubDate>Tue, 25 Aug 2026 18:10:16 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-vocos-rce/</guid><description>The Vocos library contains an arbitrary code execution vulnerability in its configuration loading process that allows attackers to execute arbitrary Python callables when loading models from untrusted repositories.</description><content:encoded><![CDATA[<p>The Vocos library, primarily used for audio synthesis tasks, contains a critical arbitrary code execution vulnerability (CVE-2026-79784) within its model loading infrastructure. The vulnerability exists in the <code>instantiate_class</code> function located in <code>vocos/pretrained.py</code>. This function reads a <code>class_path</code> from a configuration file, dynamically imports the specified module using <code>__import__</code>, retrieves the attribute via <code>getattr</code>, and executes the resulting callable using arguments provided in the configuration's <code>init_args</code> mapping.</p>
<p>Crucially, the library fails to implement an allowlist to restrict which classes or functions can be instantiated. The <code>Vocos.from_pretrained</code> method allows users to load models from Hugging Face repositories, which triggers the download of a <code>config.yaml</code> file. Because this file is passed directly to the vulnerable <code>from_hparams</code> method, an attacker who controls a Hugging Face repository can point the configuration to any importable Python callable on the victim's system, resulting in arbitrary code execution during the model loading process.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for full arbitrary code execution under the privileges of the Python process loading the malicious model. This impacts data scientists and machine learning engineers using Vocos to load models from third-party or public repositories. Attackers can leverage this to gain persistence or access sensitive data within the environment where the model is being loaded.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Audit all internal model loading workflows to ensure that Vocos models are only loaded from trusted, verified sources.</li>
<li>Implement strict network egress filtering for servers processing machine learning models to prevent unauthorized downloads from untrusted Hugging Face repositories.</li>
<li>If possible, wrap the Vocos model loading process in a sandboxed or containerized environment with restricted filesystem and network access.</li>
<li>Monitor for Python processes using the <code>vocos</code> library that are initiating unexpected outbound network connections, particularly to unknown or non-official Hugging Face repository domains.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>arbitrary-code-execution</category><category>machine-learning</category><category>supply-chain</category></item></channel></rss>