CVE-2026-6859 Details
Description
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.
A remote code execution vulnerability exists in InstructLab, specifically within the 'linux_train.py' script, which improperly hardcodes 'trust_remote_code=True' when loading models from HuggingFace. This flaw allows remote attackers to execute arbitrary Python code by persuading users to run 'ilab train/download/generate' with a malicious model sourced from the HuggingFace Hub. The vulnerability could lead to complete system compromise.
Users are advised to only use models from trusted sources when working with InstructLab. It is important to review the origin and integrity of any HuggingFace model before using it with the 'ilab train/download/generate' command. Consider executing InstructLab commands in a sandboxed or isolated environment to mitigate the risks of running untrusted code.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-6859 | redhat-SADP | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2459998 | redhat-SADP | Issue TrackingVendor Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-6859 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2459998 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | redhat-SADP |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat instructlab | All versions |
CPE
Remediation
| |
| redhat enterprise linux ai | 3.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | [email protected] |