{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.18.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2f5cb9da62a0fe763a1ddeb7798fc9acb2f4a417"
            },
            {
              "fixed": "b62d60b101eea7f32532ee3c0b17c2f2430a9262"
            }
          ],
          "repo": "https://github.com/axolotl-ai-cloud/axolotl",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86169.json"
  },
  "details": "Axolotl through 0.18.0 contains a remote code execution vulnerability in the multipack patch path where trust_remote_code defaults to None instead of False, causing the security guard to be bypassed. Attackers can execute arbitrary Python code by crafting a malicious Hugging Face model repository selected as base_model, which is loaded with hardcoded trust_remote_code=True during AutoModelForCausalLM.from_pretrained.",
  "id": "CVE-2026-86169",
  "modified": "2026-09-08T03:30:49.793063396Z",
  "published": "2026-09-05T11:01:24.705Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86169.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86169"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/axolotl-through-0.18.0-remote-code-execution-via-multipack-patching"
    },
    {
      "type": "FIX",
      "url": "https://github.com/axolotl-ai-cloud/axolotl/commit/b62d60b101eea7f32532ee3c0b17c2f2430a9262"
    },
    {
      "type": "FIX",
      "url": "https://github.com/axolotl-ai-cloud/axolotl/pull/3858"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/axolotl-ai-cloud/axolotl"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/axolotl-ai-cloud/axolotl/blob/v0.18.0/src/axolotl/loaders/patch_manager.py#L794-L806"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/axolotl-ai-cloud/axolotl/blob/v0.18.0/src/axolotl/monkeypatch/multipack.py#L86-L96"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Axolotl through 0.18.0 Remote Code Execution via Multipack Patching"
}