Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`
cve-program · CVE-2026-6859
PublishedA flaw was found in InstructLab. The `linux_train.py` script hardcodes `trust_remote_code=True` when loading models from HuggingFace. This allows a remote attacker to achieve arbitrary Python code execution by convincing a user to run `ilab train/download/generate` with a specially crafted malicious model from the HuggingFace Hub. This vulnerability can lead to complete system compromise.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-6859 · CVE overview and exploitation status
cve-program · CVE-2026-6859
Related changes
Linked by CVE identifierNo related changes are available here.