CVE-2026-6859GHSA-RXPQ-XGQX-FR7PPYSEC-2026-2522
Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
A 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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- rhelai3/bootc-aws-cuda-rhel9
Version range not reported
- rhelai3/bootc-azure-cuda-rhel9
Version range not reported
- rhelai3/bootc-azure-rocm-rhel9
Version range not reported
- rhelai3/bootc-cuda-rhel9
Version range not reported
- rhelai3/bootc-gcp-cuda-rhel9
Version range not reported
- rhelai3/bootc-rocm-rhel9
Version range not reported
- instructlabPyPI
through 0.26.1