CVE-2026-6859
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.
- CVSS 3.1
- 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 38% of CVEs (scores of 2026-10-26)
- CWE
- CWE-829
- Published
- Modified
- Record from
- the NVD, synced
Affected
- redhat:enterprise_linux_ai
- redhat:instructlab
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rxpq-xgqx-fr7p | PyPI | instructlab | <=0.26.1 | no fix published |
| PYSEC-2026-2522 | PyPI | instructlab | <=0.26.1 | no fix published |