CVE-2026-93348
Last modified
CVE-2026-93348 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| unslothai | unsloth-zoo | >= 2025.9.9, < 2026.8.14 |
| unslothai | unsloth | >= 2025.9.9, < 2026.8.20 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-93348?
How severe is CVE-2026-93348?
How do I fix CVE-2026-93348?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-93342MarketKing plugin for WordPress before 2.1.72 contains a mis…5.4
- CVE-2026-93343MarketKing plugin for WordPress before 2.1.72 contains a mis…6.5
- CVE-2026-93344MarketKing plugin for WordPress before 2.1.72 contains a mis…6.5
- CVE-2026-93345MikroTik RouterOS before 7.25beta4 contains an improper inpu…7.5
- CVE-2026-93346Wazuh from 4.0.0 before 4.14.8 contains a race condition in …5.3
- CVE-2026-93347Wazuh from 4.1.1 before 4.14.8 contains a path traversal vul…4.9
- CVE-2026-93349Frictionless before 5.19.1 contains an OS command injection …8.8
- CVE-2026-9335A vulnerability in keras-team/keras versions <= 3.14.0 allow…6.5
- CVE-2026-93352Laravel-Mediable 7.0.0 before 7.0.2 contains an incomplete p…9.8
- CVE-2026-93353copyparty contains a volume restriction bypass vulnerability…3.1
- CVE-2026-93354Taskview Community before 1.56.0 contains a missing authenti…8.1
- CVE-2026-93355LiteLLM contains a weak authentication vulnerability that al…8.1
Are you affected by CVE-2026-93348?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
