Axolotl before 0.19.0 Remote Code Execution via Multipack Patching
axolotl-ai-cloud axolotl
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| axolotl-ai-cloud axolotl |
|
|
Original 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.
From the CVE record · VulnCheck