Axolotl before 0.19.0 Remote Code Execution via Multipack Patching
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.
CVE-2026-86169
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-86169
axolotl
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "axolotl-ai-cloud",
"product": "axolotl",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.19.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "0.19.0",
"versionType": "semver"
}
],
"packageURL": "pkg:pypi/axolotl",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-86169
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #1586 · Revision 1
- Added to Heist Feed
- Publisher date