InstructLab Includes Functionality from Untrusted Control Sphere
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-6859US | high8.8 | — | ||
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 arbit… | ||||
02
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-6859WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2459998WEB
- https://github.com/advisories/GHSA-rxpq-xgqx-fr7pADVISORY
- https://github.com/instructlab/instructlabPACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-6859ADVISORY
- https://pypi.org/project/instructlabPACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan