{
  "schemaVersion": "guard-threat-campaign/v1",
  "id": "HGTC-2026-9F1CE129",
  "slug": "cve-2026-93348-unsloth-zoo-code-injection-config-json",
  "title": "Unsloth RCE via malicious Hugging Face model config.json (CVE-2026-93348)",
  "aliases": [
    "CVE-2026-93348",
    "Unsloth Zoo Code Injection via model_type in config.json",
    "Unsloth RCE: malicious Hugging Face model config.json injects code"
  ],
  "summary": "Same-day CVE-2026-93348 (CVSS 8.6 HIGH, CWE-94): Unsloth Zoo get_transformers_model_type() collected nested model_type from config.json without an [a-z0-9_] allowlist, so newlines survived into unsloth_compile_transformers() exec() import path. Affects unsloth-zoo >=2025.9.9 <2026.8.14 and unsloth >=2025.9.9 <2026.8.20. Requires loading a malicious model (UI:P). Fix: upgrade unsloth-zoo to 2026.8.14+ and unsloth to 2026.8.20+. Patch in unsloth-zoo PR #1083 / #1108; credit Ariel Fogel (Pillar Security).",
  "status": "published",
  "severity": "high",
  "confidence": "high",
  "uncertainty": "Not in CISA KEV as of this write-up. Exploitation in the wild is not claimed from primary sources. UI:P means a user or pipeline must load the malicious model; this is not an unauthenticated worm.",
  "firstObservedAt": "2026-09-28T15:09:41.524Z",
  "lastObservedAt": "2026-09-28T15:28:51.905Z",
  "publishedAt": "2026-09-28T15:35:33.558Z",
  "reviewedAt": "2026-09-28T15:34:01.471Z",
  "expiresAt": "2026-09-28T15:28:51.905Z",
  "reviewer": "HOL Guard Security Publishing",
  "sources": [
    {
      "id": "vulncheck",
      "label": "VulnCheck advisory: Unsloth Zoo code injection via model_type in config.json",
      "url": "https://www.vulncheck.com/advisories/unsloth-zoo-code-injection-via-model-type-in-config-json",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-09-28T15:09:41.524Z"
    },
    {
      "id": "pr-1083",
      "label": "unsloth-zoo PR #1083 Stop building imports from a config-supplied model_type",
      "url": "https://github.com/unslothai/unsloth-zoo/pull/1083",
      "sourceType": "maintainer_advisory",
      "observedAt": "2026-08-23T02:07:47Z"
    },
    {
      "id": "pr-1108",
      "label": "unsloth-zoo PR #1108 follow-up exec/eval sinks",
      "url": "https://github.com/unslothai/unsloth-zoo/pull/1108",
      "sourceType": "maintainer_advisory",
      "observedAt": "2026-09-28T15:28:51.905Z"
    },
    {
      "id": "unsloth-commit",
      "label": "unsloth bump commit 92ee020",
      "url": "https://github.com/unslothai/unsloth/commit/92ee0207a38ebc8af1a0e678aa92d7e7d901ea0d",
      "sourceType": "other_primary",
      "observedAt": "2026-09-28T15:28:51.905Z"
    },
    {
      "id": "hol-blog",
      "label": "HOL Guard operator write-up CVE-2026-93348",
      "url": "https://hol.org/blog/cve-2026-93348-unsloth-zoo-code-injection-config-json",
      "sourceType": "other_primary",
      "observedAt": "2026-09-28T15:28:51.905Z"
    },
    {
      "id": "hol-evidence",
      "label": "HOL Guard evidence pack CVE-2026-93348",
      "url": "https://hol.org/guard/security/cves/CVE-2026-93348-unsloth-zoo-code-injection-via-modeltype-in",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-09-28T15:23:22.030Z"
    }
  ],
  "artifacts": [
    {
      "id": "pkg-unsloth-zoo",
      "artifactClass": "package",
      "ecosystem": "pypi",
      "name": "unsloth-zoo",
      "version": ">=2025.9.9 <2026.8.14",
      "defanged": false
    },
    {
      "id": "pkg-unsloth",
      "artifactClass": "package",
      "ecosystem": "pypi",
      "name": "unsloth",
      "version": ">=2025.9.9 <2026.8.20",
      "defanged": false
    }
  ],
  "indicators": [],
  "timeline": [
    {
      "id": "vendor-fix",
      "occurredAt": "2026-08-23T02:07:47Z",
      "eventType": "vendor_action",
      "summary": "unsloth-zoo PR #1083 merged: allowlist model_type and replace exec import path with importlib.",
      "sourceIds": [
        "pr-1083"
      ]
    },
    {
      "id": "disclosure",
      "occurredAt": "2026-09-28T15:09:41.524Z",
      "eventType": "disclosure",
      "summary": "CVE-2026-93348 published; VulnCheck advisory lists CVSS 8.6 HIGH and fixed floors 2026.8.14 / 2026.8.20.",
      "sourceIds": [
        "vulncheck"
      ]
    },
    {
      "id": "hol-publish",
      "occurredAt": "2026-09-28T15:28:51.905Z",
      "eventType": "other",
      "summary": "HOL Guard published operator blog coverage for CVE-2026-93348 (blog-only social).",
      "sourceIds": [
        "hol-blog"
      ]
    }
  ],
  "coverage": [],
  "policies": [],
  "limitations": [
    "Requires loading a malicious model so Unsloth's compile path runs (CVSS UI:P).",
    "Not an unauthenticated internet worm against Hugging Face Hub users who never load the model.",
    "Out of scope if unsloth / unsloth-zoo are not installed, or already at 2026.8.14+ / 2026.8.20+.",
    "Not claiming CISA KEV or observed in-the-wild exploitation from primary sources today.",
    "HOL blog is operator guidance, not a substitute for the maintainer patch notes."
  ],
  "correctionHref": "/guard/security/campaigns/cve-2026-93348-unsloth-zoo-code-injection-config-json/corrections"
}
