News · audio-separator (PyPI package) · 2 min read
Event date: · Published:
audio-separator PyPI package patches high-severity RCE vulnerability
A GitHub Security Advisory details a high-severity remote code execution flaw in the audio-separator PyPI package, caused by unsafe deserialization of Demucs model files; the fix ships in version 0.47.2.
GitHub Security Advisories disclosed a high-severity remote code execution vulnerability in the audio-separator PyPI package on November 21, 2026, tracing the flaw to unsafe deserialization of Demucs model files inside the library. Full details appear in the GHSA-gv8g-fprf-x5cj advisory.
Details of the flaw
- Tracked as
CVE-2026-134172/GHSA-gv8g-fprf-x5cj, rated High severity with a CVSS v4.0 base score of 8.5. - Classified as CWE-502 (Deserialization of Untrusted Data).
- All versions of audio-separator before 0.47.2 are affected; the fix ships in version 0.47.2.
- The package loads Demucs
.thmodel files withtorch.load()andweights_only=False. - Exploitable through files placed in the shared default directory
/tmp/audio-separator-models/or through attacker-controlled model download sources, letting an attacker execute arbitrary code with the victim's privileges.
Why it matters for AI builders
The bug follows a recurring pattern in machine learning tooling: deserializing pretrained weights with torch.load() and weights_only=False. Any AI audio pipeline or agent that automatically downloads or shares Demucs model files for vocal, drum, or bass stem separation is exposed, because a malicious file placed in a shared directory or served from an unverified source can run arbitrary code with the victim's privileges.
What to do now
Anyone running audio-separator should upgrade to version 0.47.2, which contains the fix, and should avoid loading Demucs model files from untrusted sources or from world-writable temporary directories such as /tmp/audio-separator-models/.
Sources
- GHSA-gv8g-fprf-x5cj (GitHub Security Advisories, November 21, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.