Back to CVE records
High 8.1Published Sep 28, 2026

CVE-2026-93348Unsloth Zoo Code Injection via model_type in config.json

Updated under an hour ago ()

Does this affect you?

It affects unslothai unsloth-zoo and 1 other product. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.41%, higher than 33% of scored CVEs.

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.

CVSS
8.1 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-94
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.41% (percentile 33)
Assigned by
VulnCheck
NVD analysis
Deferred
Record last updated
Sep 30, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
unslothai unsloth-zoo
unslothai:unsloth_zoo (from the name)
from 2025.9.9 before 2026.8.14
CNA record
unslothai unsloth
unslothai:unsloth (from the name)
from 2025.9.9 before 2026.8.20
CNA record

References

  • patch, issue-tracking
  • patch, issue-tracking
  • patch
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.