You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

SpeechBrain checkpoint RCE PoC (unsafe yaml.load(Loader=yaml.Loader))

Security proof-of-concept for a Model File Vulnerability in speechbrain.

A SpeechBrain checkpoint is a directory whose name starts with CKPT and which contains a CKPT.yaml metadata file. When SpeechBrain recovers a checkpoint, it parses CKPT.yaml with PyYAML's full loader (speechbrain/utils/checkpoints.py โ†’ Checkpointer._construct_checkpoint_objects: meta = yaml.load(fi, Loader=yaml.Loader)). The full loader constructs arbitrary Python objects, so a malicious CKPT.yaml executes code the moment a victim loads/resumes this checkpoint.

Contents

  • CKPT+2026-07-27+00-00-00+00/CKPT.yaml โ€” malicious checkpoint metadata (benign payload: runs id)
  • CKPT+2026-07-27+00-00-00+00/model.ckpt โ€” placeholder param file
  • trigger.py โ€” the victim action

Reproduce

pip install speechbrain
python trigger.py .
cat /tmp/speechbrain_mfv_poc.txt   # <- output of `id`, i.e. code executed at load time

The payload here is harmless (id > /tmp/speechbrain_mfv_poc.txt). A real attacker would run arbitrary commands as the user loading the checkpoint.

huntr note: host this in a gated HuggingFace repo and grant access to protectai-bot.

Impact

Arbitrary code execution when loading/resuming an untrusted SpeechBrain checkpoint. Affects speechbrain 1.1.0 and current develop.

Fix

Use yaml.safe_load(fi) โ€” CKPT.yaml only holds scalar metadata.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support