Skip to content
Unsloth Studio Vulnerability Allows Code Execution via Model Inspection

Unsloth Studio Vulnerability Allows Code Execution via Model Inspection

First seen 30 Sep 2026, 00:05 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •October 1, 2026 at 00:01 UTC
  • •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.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated 46d ago How this analysis works

Timeline

2026-06-09
Patch released for Unsloth Studio
Unsloth released a fix addressing the arbitrary code execution vulnerability identified by Pillar Security.
Darkreading
2026-09-30
Vulnerability disclosed
Pillar Security published details of the critical vulnerability in Unsloth Studio, highlighting its impact and exploitation method.
Pillar Security

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

Common questions

What versions of Unsloth are affected?
The vulnerability affects all versions of Unsloth Studio shipped with the standard unsloth package.
Is there any evidence of exploitation in the wild?
Pillar Security has not seen evidence of real-world exploitation of this vulnerability.
What should organizations do to mitigate this risk?
Organizations should apply the patch released on June 9, 2026, and review their use of the trust_remote_code setting.