CVE-2026-86169
Received Received - Intake

Remote Code Execution in Axolotl via Hugging Face Model

Vulnerability report for CVE-2026-86169, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
axolotl-ai-cloud axolotl to 0.18.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-829 The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-86169 is a remote code execution vulnerability in Axolotl versions up to 0.18.0. It occurs because the multipack patch path sets trust_remote_code to None by default, bypassing security checks. Attackers can exploit this by uploading a malicious Hugging Face model repository as base_model, which is loaded with trust_remote_code=True during model initialization, enabling arbitrary Python code execution.

Detection Guidance

To detect this vulnerability, check if Axolotl version 0.18.0 or earlier is installed by running: pip show axolotl. If installed, verify if multipack patching is enabled in your configuration files. Look for models loaded with trust_remote_code=True in logs or model loading processes.

Impact Analysis

This vulnerability allows attackers to execute arbitrary code on systems using vulnerable Axolotl versions. If you use Axolotl for fine-tuning language models, an attacker could compromise your system, steal data, or disrupt operations by uploading a malicious model. The impact includes potential data breaches, system compromise, and unauthorized access.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR and HIPAA due to potential data breaches. GDPR requires protection of personal data, and HIPAA mandates safeguards for protected health information. A remote code execution flaw increases the risk of unauthorized data exposure, resulting in legal penalties, fines, and reputational damage for organizations handling sensitive data.

Mitigation Strategies

Immediately upgrade Axolotl to the latest patched version using pip install --upgrade axolotl. Review and update all model loading configurations to explicitly set trust_remote_code=False where applicable. Monitor Hugging Face model repositories for unauthorized or suspicious base_model references.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86169. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart