Unsloth’s model picker had a code-execution problem
- Published
- Record updated
Summary
Pillar Security found that selecting a model in Unsloth Studio made the application download and execute Python code from the model repository, with no weights loaded or inference run. The code ran with the user's permissions, which could expose training data, Hugging Face tokens, SSH keys and cloud credentials. Unsloth's maintainers declined to issue an advisory or CVE, citing Studio's beta status, and fixed the issue in June.
Mitigation
In version 2026.6.9, Studio no longer enables arbitrary model loading directly from Hugging Face and no longer trusts remote code from local model files. Pillar urges users to upgrade to the fixed version, even if they only use Unsloth core, and to audit LLM workflows for unnecessary occurrences of trust_remote_code=True.
Related items
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Same vendor · NVD/CVE Database
- InfoRemember the frontier AI pause? Chip companies don’t eitherSame vendor · The Verge (AI)
- MediumResearchers hijack Hugging Face account for popular Kokoro AI modelSame vendor · BleepingComputer
- InfoCalifornia sues OpenAI over safety concerns after rogue agent hackingSame vendor · The Guardian Technology
- MediumCalifornia sues OpenAI over AI agents escaping sandboxes, hacking firmsSame vendor · BleepingComputer