axolotl vulnerability

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 5 Sep 2026Updated 5 Sep 20266 sources
CVSS 8.7

Record history

Record created from the first normalized source observation.
Metadata and source references refreshed.