{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-93348","id":"CVE-2026-93348","title":"Unsloth Zoo Code Injection via model_type in config.json","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 no","descriptionLong":"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.","published":"2026-09-28T15:09:41.524Z","updated":"2026-10-28T02:30:49.314240556Z","reserved":"2026-09-17T18:41:40.757Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"VulnCheck"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["unslothai unsloth-zoo","unslothai unsloth"],"affectedProducts":[{"vendor":"unslothai","product":"unsloth-zoo","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2025.9.9","versionType":"date","lessThan":"2026.8.14"}],"platforms":[]},{"vendor":"unslothai","product":"unsloth","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2025.9.9","versionType":"date","lessThan":"2026.8.20"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":[],"references":[{"url":"https://github.com/unslothai/unsloth-zoo/pull/1083","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/unslothai/unsloth-zoo/pull/1108","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/unslothai/unsloth/commit/92ee0207a38ebc8af1a0e678aa92d7e7d901ea0d","tags":["patch","fix"]},{"url":"https://www.vulncheck.com/advisories/unsloth-zoo-code-injection-via-model-type-in-config-json","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93348.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93348","tags":["advisory"]},{"url":"https://github.com/unslothai/unsloth","tags":["package"]},{"url":"https://github.com/unslothai/unsloth-zoo","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00409,"epssPercentile":0.35924,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93348","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-93348","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-93348","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}