
CVE catalog
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 exe
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | instructlab | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_ai | Not reported | Not reported | unknown |
| Cpe | instructlab | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_ai | Not reported | Not reported | unknown |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://access.redhat.com/security/cve/CVE-2026-6859]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2459998]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-6859]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]