Case · DiggingBeagle record

Audio-separator loaded executable model checkpoints through unsafe PyTorch pickle

Maintainer tests blocked a controlled os.

Published by DiggingBeagle:

Scope

audio-separator before 0.47.2 and a malicious checkpoint selected or placed in a writable shared model directory.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.

Assessed Nov 22, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Choose or replace a checkpoint

    An audio-separator deployment selects a Demucs .th file from a download or a writable shared model directory; attacker control of that artifact is a prerequisite.

    Boundary: External model-file provenance before inference

  2. 02

    Deserialize with unrestricted pickle

    Before 0.47.2 the loader passed weights_only=False to torch.load, allowing serialized Python globals to execute in the loading process.

    Boundary: Model artifact interpreted as executable Python operations

  3. 03

    Execute within loader privileges

    The maintainers rejected a controlled malicious os.system checkpoint after switching to restricted loading and verified seven official Demucs models still produced matching outputs.

    Boundary: Host process execution, demonstrated in a local test rather than victim infection

Claims & evidence

CLM-2026-NOV22-AUDIO-SEPARATOR-PICKLE-SCOPEMaintainer tests blocked a controlled os.system payload while seven official Demucs checkpoints retained matched outputs. The same PR tightens VR, MDXC, RoFormer and mixer loads and removes a separate unsafe fallback. The code uses Claude Code in remediation metadata, not as proof of discovery.supported

Basis: reported finding

Link to claim
CLM-2026-NOV22-AUDIO-SEPARATOR-PICKLE-MECHANISMBefore 0.47.2, the Demucs loader used torch.load with weights_only=False on external or shared-directory checkpoint files. A malicious serialized checkpoint could call arbitrary pickle globals during loading, executing under the audio-separation process account before normal inference.supported

Basis: reported finding

Link to claim

Implications

Treating model weights as passive data is unsafe when the loader invokes Python object deserialization. The fixes address explicit checkpoint families, and the recorded Claude Code contribution is to remediation, not proof that AI autonomously found the flaw.

Controls and mitigations

  • upgrade 0.47.2, use restricted checkpoint deserialization and verify model artifact origin before loading

Unknowns and contradictions

  • No known customer compromise is documented, and the optional shared-directory threat requires a file to be placed or fetched. The remediation does not certify every third-party checkpoint loader.

Sources and citation

Material revision history

  1. Nov 22, 2026 · Published version · first publication · revision 275