PT-2026-99916 · Unknown+1 · Unsloth-Zoo+1

·

CVE-2026-93348

·

Published

2026-09-28

·

Updated

2026-09-28

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Unsloth Zoo versions 2025.9.9 through 2026.8.13 Unsloth versions 2025.9.9 through 2026.8.19
Description A code injection issue exists in the model-loading compile path. The get transformers model type() function in hf utils.py collects model type values from nested model configurations without enforcing a character allowlist, which allows newlines and arbitrary Python source to survive normalization. An attacker can embed a newline in a nested model type value within a malicious model's config.json to terminate the generated import statement and execute arbitrary Python code via exec() in unsloth compile transformers(). This leads to remote code execution as the loading user during model loading for training or inference.
Recommendations Update Unsloth Zoo to version 2026.8.14 or later. Update Unsloth to a version later than 2026.8.19.

Fix

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-93348

Affected Products

Unsloth
Unsloth-Zoo