Description
Axolotl before 0.19.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: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Axolotl before 0.19.0 contains a remote code execution flaw rooted in the multipack patching mechanism, where the "trust_remote_code" flag defaults to None instead of False. This misconfiguration lets the internal security guard be bypassed, allowing malicious code to run during model loading. Based on the description, the attacker crafts a rogue Hugging Face model repository to be used as a base_model, and because the loading routine hardcodes "trust_remote_code=True" the code in that repository executes with full process privileges.

Affected Systems

The vulnerability affects the Axolotl product delivered by Axolotl AI Cloud. Versions up to and including 0.18.0 are affected, and any system that incorporates multipack patches from external sources using the affected release is at risk.

Risk and Exploitability

The flaw carries a CVSS score of 8.7, classifying it as high severity. Its EPSS score is below 1 % and it is not listed in the CISA KEV catalog, suggesting a low but non‑zero likelihood of exploitation in the wild. The attack vector is remote: an adversary can supply a malicious model repository that the system treats as trusted during loading, thus executing arbitrary Python code. The impact spans confidentiality, integrity, and availability of the affected host, potentially compromising the entire application environment.

Generated by OpenCVE AI on September 21, 2026 at 06:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Axolotl to any release newer than 0.18.0, which removes the default trust_remote_code bug.
  • When loading models explicitly set the trust_remote_code parameter to False or provide a safe value, overriding the hardcoded default.
  • Verify that all multipack patches and external model repositories are obtained from trusted, audited sources before incorporation.

Generated by OpenCVE AI on September 21, 2026 at 06:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 23:45: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. Axolotl before 0.19.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 Axolotl before 0.19.0 Remote Code Execution via Multipack Patching
References

Tue, 08 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Axolotl-ai-cloud
Axolotl-ai-cloud axolotl
Vendors & Products Axolotl-ai-cloud
Axolotl-ai-cloud axolotl

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

Axolotl-ai-cloud Axolotl
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-24T14:21:12.296Z

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

Link: CVE-2026-86169

cve-icon Vulnrichment

Updated: 2026-09-08T18:13:21.821Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-09-23T17:17:46.980

Link: CVE-2026-86169

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T06:15:10Z

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere