www.pillar.security Unsloth Studio Vulnerability Allows Code Execution via Model Inspection
Article Content
- •Unsloth Studio allows arbitrary code execution via model inspection.
- •The vulnerability affects enterprise AI development environments, risking sensitive data exposure.
- •A patch was released on June 9, 2026, but no formal advisory was issued.
A critical vulnerability in Unsloth Studio, a web UI for the Unsloth library, allows arbitrary code execution when inspecting AI models. The flaw, identified by Pillar Security, enables attackers to execute malicious Python code simply by selecting a model in the UI, without needing to load the model's weights. This vulnerability affects users of Unsloth Studio, which is widely used in enterprise AI development environments, potentially exposing sensitive data and credentials. The exploit leverages the 'trust_remote_code' setting, which was enabled by default, allowing code execution from the model's configuration file. Unsloth's maintainers disputed the severity of the issue, citing that the software is in beta and that Hugging Face's malware scanning is sufficient. However, Pillar Security argues that the automatic execution of untrusted code is a significant security risk. A patch was released on June 9, 2026, but no formal advisory was published. The vulnerability is tracked as CVE-2026-4372.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (6)
Following this threat?
Track CVE-2026-4372 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed