CVE-2026-6859
HIGH 8.8CVSS 3.1InstructLab 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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-829
- Also known as
- GHSA-rxpq-xgqx-fr7pPYSEC-2026-2522
- Sources
- NVDJSONOSV GHSA-rxpq-xgqx-fr7pJSONOSV PYSEC-2026-2522JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | instructlabcpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | enterprise_linux_aicpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| OSV | PyPI | instructlab | <= 0.26.1 |
References
- https://access.redhat.com/security/cve/CVE-2026-6859 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2459998 · Issue Tracking, Vendor Advisory, WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-6859 · ADVISORY
- https://github.com/instructlab/instructlab · PACKAGE
- https://pypi.org/project/instructlab · PACKAGE
- https://github.com/advisories/GHSA-rxpq-xgqx-fr7p · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Apr 2026)