CVE-2026-6859: InstructLab - Remote Code Execution
- Cve: CVE-2026-6859
- Name: InstructLab - Remote Code Execution
- 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.
- Impact: Remote attackers can execute arbitrary Python code, potentially leading to complete system compromise.
- Remediation: Update to the latest version that removes or secures trust_remote_code usage.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker must convince user to run ilab train/download/generate with a malicious model
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00449
- Epss percentile: 0.3977
- Assignee: [email protected]
- Published at: 2026-04-22T14:17:07Z
- Age in days: 216
- Modified at: 2026-10-26T21:10:00Z
- References total: 3
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-6859
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-6859 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2459998 | Issue Tracking, Vendor Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redhat:instructlab | all versions | no | nvd | /v1/products/redhat/instructlab |
| redhat:enterprise_linux_ai | = 3.0 | no | nvd | /v1/products/redhat/enterprise_linux_ai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| instructlab/instructlab | package | yes | /v1/repositories/instructlab/instructlab |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts