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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-6859 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2459998 | Issue Tracking Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
06 May 2026, 20:23
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Redhat
Redhat instructlab Redhat enterprise Linux Ai |
|
| References | () https://access.redhat.com/security/cve/CVE-2026-6859 - Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2459998 - Issue Tracking, Vendor Advisory | |
| CPE | cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:* |
22 Apr 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-22 14:17
Updated : 2026-05-06 20:23
NVD link : CVE-2026-6859
Mitre link : CVE-2026-6859
CVE.ORG link : CVE-2026-6859
JSON object : View
Products Affected
redhat
- enterprise_linux_ai
- instructlab
CWE
CWE-829
Inclusion of Functionality from Untrusted Control Sphere
