CVE-2026-86169
Axolotl through 0.18.0 contains a remote code execution …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/axolotl-ai-cloud/axolotl
- github.com/axolotl-ai-cloud/axolotl/blob/v0.18.0/src/axolotl/loaders/patch_manager.py#L794
- github.com/axolotl-ai-cloud/axolotl/blob/v0.18.0/src/axolotl/monkeypatch/multipack.py#L86-
- github.com/axolotl-ai-cloud/axolotl/commit/b62d60b101eea7f32532ee3c0b17c2f2430a9262
- github.com/axolotl-ai-cloud/axolotl/pull/3858
- www.vulncheck.com/advisories/axolotl-through-0.18.0-remote-code-execution-via-multipack-pa
- github.com/axolotl-ai-cloud/axolotl/releases/tag/v0.19.0
- nvd.nist.gov/vuln/detail/CVE-2026-86169
- cve.org/CVERecord?id=CVE-2026-86169
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.