Skip to content
HighVulnerability

CVE-2026-93348: Unsloth Zoo code injection via model_type in config.json

Identifier
CVE-2026-93348
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Unsloth Zoo versions 2025.9.9 before 2026.8.14, as implemented in Unsloth 2025.9.9 through 2026.8.19, fails to enforce a character allowlist on model_type values collected by get_transformers_model_type() in hf_utils.py. A newline embedded in a nested model_type value in a malicious config.json can terminate the generated import statement, and the injected Python is executed via exec() in unsloth_compile_transformers(). This yields remote code execution as the loading user when the model is loaded for training or inference.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.