{"schema":"threatline.record/2","record":{"id":"CVE-2026-93348","aliases":[],"summary":"Unsloth Zoo Code Injection via model_type in config.json","details":"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.","categories":["Unclassified"],"product":"unsloth-zoo","vendor":"unslothai","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","source_modified_at":"2026-09-30T14:43:10.011Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"unsloth-zoo","vendor":"unslothai","versions":[{"status":"affected","version":"2025.9.9","versionType":"date","lessThan":"2026.8.14"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","source_modified_at":"2026-09-30T14:43:10.011Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"unsloth","vendor":"unslothai","versions":[{"status":"affected","version":"2025.9.9","versionType":"date","lessThan":"2026.8.20"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","source_modified_at":"2026-09-30T14:43:10.011Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"unsloth-zoo","ecosystem":null},"version":"2026.8.14","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","source_modified_at":"2026-09-30T14:43:10.011Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"unsloth","ecosystem":null},"version":"2026.8.20","basis":"first unaffected version stated in the CVE record"}],"cvss":8.6,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00409,"percentile":0.34066,"score_date":"2026-10-23"},"published_at":"2026-09-28T15:09:41.524Z","modified_at":"2026-09-30T14:43:10.011Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-93348","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-30T14:43:10.011Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-93348","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/unslothai/unsloth-zoo/pull/1083","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/unslothai/unsloth-zoo/pull/1108","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/unslothai/unsloth/commit/92ee0207a38ebc8af1a0e678aa92d7e7d901ea0d","tags":["patch"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/unsloth-zoo-code-injection-via-model-type-in-config-json","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-09-30T14:42:53.294398Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-09-30T14:43:10.011Z","content_hash":"ec4656a41de0dba63810c0ec0a732474cc13f5216ca0b6ebf8db3484f67bdcc8"}}
