Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
CVE-2026-93348
Arbitrary Python code execution in Unsloth model loader via malicious model-type configuration, bypassing trust_remote_code=False
- CVE
- CVE-2026-93348 1 source
- CVSS
- 8.6 1 source
- Weakness
- CWE-94: Code Injection 1 source
- Disclosed
- 2026-08-22 1 source
A critical vulnerability in unsloth and Unsloth Zoo that enables arbitrary Python code execution through malicious model-type configuration, circumventing the trust_remote_code=False safety mechanism 1.
The vulnerability exploits the model loader's handling of model-type parameters, allowing an attacker to inject and execute arbitrary Python code during model loading operations. This occurs even when users have explicitly disabled remote code execution via trust_remote_code=False, representing a bypass of a primary security control 1.
Severity and Impact
The vulnerability carries a CVSS score of 8.6 1, indicating high severity. Successful exploitation grants an attacker arbitrary code execution within the context of the application loading the model, potentially enabling data theft, system compromise, or lateral movement.
Affected Components
Classification
This vulnerability is classified as CWE-94: Code Injection 1, reflecting the core mechanism of injecting malicious code through configuration parameters.
Remediation
A patch is available 1. Users should update to the patched version immediately. Until patching is possible, restrict model loading to trusted sources and validate model-type configurations before use.
Disclosure Timeline
The vulnerability was disclosed on 2026-08-22 1.
Facts 5
| Attribute | Value | Confidence | Sources | Cited |
|---|---|---|---|---|
| CVE | CVE-2026-93348 | low | 1 | 1 |
| CVSS | 8.6 | low | 1 | 1 |
| Weakness | CWE-94: Code Injection | low | 1 | 1 |
| Disclosed | 2026-08-22 | low | 1 | 1 |
| Patch status | patch-available | low | 1 | 1 |