A now-patched remote-code-execution flaw in Unsloth Studio allowed attacker-controlled Hugging Face model repositories to run arbitrary Python code when an operator merely selected a model in the Studio browser interface. The backend inspection workflow enabled trust_remote_code=True by default, allowing a crafted config.json auto_map entry to make Hugging Face Transformers import Python modules supplied by the repository; exploitation did not require loading model weights, starting inference or training, or separately approving remote code execution.
The payload ran with the Studio operator's privileges and could expose Hugging Face tokens, cloud credentials, SSH keys, proprietary datasets, and model artifacts. Pillar Security privately reported the issue in early June 2026, and Unsloth fixed it in version 2026.6.9 on June 18; no CVE or public advisory was issued because Studio was in beta. Organizations using Studio should upgrade to 2026.6.9 or later and isolate model-loading workflows from sensitive credentials and resources.

Track how attackers are adapting to this technology.
2 events from the most recent confirmed update back to the earliest known activity.
Unsloth released version 2026.6.9, fixing vulnerable Hugging Face model-loading and local-directory model-loading paths in Studio. Independent researchers verified that the affected paths were closed.
Pillar Security privately reported that Unsloth Studio's model-inspection workflow could execute attacker-supplied Python from a malicious Hugging Face repository when a user selected the model. The issue stemmed from enabling trust_remote_code by default during configuration inspection.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Follow how adversaries are adapting to this technology, and where it touches your stack today.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.