Description
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.
Published: 2026-09-05
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Axolotl through version 0.18.0 exposes a remote code execution flaw in the multipack patching path because the trust_remote_code flag is set to None by default instead of False. This omission bypasses the security guard that normally rejects unknown code execution. An attacker can take advantage by hosting a malicious Hugging Face model repository chosen as base_model; the repository is loaded with a hardcoded trust_remote_code=True inside AutoModelForCausalLM.from_pretrained, allowing the attacker to inject and execute arbitrary Python code.

Affected Systems

The vulnerability affects the Axolotl AI Cloud product called Axolotl, specifically releases up to and including version 0.18.0. Systems running this version and utilizing multipack patching are in scope.

Risk and Exploitability

According to the CVSS assessment, the issue has a score of 8.7, indicating high severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. The likely attack vector involves an attacker providing a crafted Hugging Face model repository that the affected system loads automatically, thereby exploiting the default trust_remote_code setting. Given the high CVSS score and the absence of notable mitigations, the risk remains significant for affected deployments.

Generated by OpenCVE AI on September 5, 2026 at 12:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axolotl to a release newer than 0.18.0 or apply any official patch that corrects the trust_remote_code default.
  • When loading models, explicitly set the trust_remote_code parameter to False or control it through configuration to prevent automatic execution of untrusted code.
  • Verify that multipack patches are only loaded from trusted sources and audit any custom patches for malicious content.

Generated by OpenCVE AI on September 5, 2026 at 12:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Axolotl through 0.18.0 Remote Code Execution via Multipack Patching
Weaknesses CWE-829
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-05T11:01:24.705Z

Reserved: 2026-09-05T10:39:12.130Z

Link: CVE-2026-86169

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T11:16:45.703

Modified: 2026-09-05T11:16:45.703

Link: CVE-2026-86169

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T12:30:04Z

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere