CVE-2026-93348

Unsloth Zoo Code Injection via model_type in config.json

HIGH
8.1
CVSS Score
Published: September 28, 2026 at 03:09 PM UTC
Updated: September 30, 2026 at 05:32 PM UTC
2 products affected across 1 vendorUnslothUnsloth Zoo

Using unsloth-zoo by unslothai?

Get instant alerts when new vulnerabilities affect unsloth-zoo - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Unsloth Zoo versions 2025.9.9 before 2026.8.14, as implemented in Unsloth 2025.9.9 through 2026.8.19, contains a code injection vulnerability in the model-loading compile path where the get_transformers_model_type() function in hf_utils.py collects model_type values from nested model configurations without enforcing a character allowlist, allowing newlines and arbitrary Python source to survive normalization. Attackers 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(), achieving remote code execution as the loading user when the model is loaded for training or inference.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2025.9.9 ≤ v < 2026.8.202025.9.9
Affected range stops below 2026.8.20, so it looks safe — our inference, not a vendor statement
2025.9.9 ≤ v < 2026.8.142025.9.9
Affected range stops below 2026.8.14, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHVulnCheck
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card