Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-86169

Axolotl before 0.19.0 Remote Code Execution via Multipack Patching

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

axolotl-ai-cloud axolotl

Default version status: unaffected

  • 0 to < 0.19.0affected
  • 0.19.0unaffected
pkg:pypi/axolotl

References