CVE-2026-6859
published high CVSS 3.1 · 8.8Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhelai3/bootc-aws-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat |
| Red Hat | — | rhelai3/bootc-azure-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat |
| Red Hat | — | rhelai3/bootc-azure-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat |
| Red Hat | — | rhelai3/bootc-gcp-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat |
| Red Hat | — | rhelai3/bootc-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat |
| Red Hat | — | rhelai3/bootc-aws-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/bootc-azure-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhelai3/bootc-azure-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/bootc-gcp-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/bootc-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
References
3- https://access.redhat.com/security/cve/CVE-2026-6859
- RHBZ#2459998 https://bugzilla.redhat.com/show_bug.cgi?id=2459998
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json
Provider assertions
3redhat · cna
Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`
redhat-SADP · adp
instructlab: InstructLab: Arbitrary code execution due to hardcoded `trust_remote_code=True`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1c43281e9902b148240c1c2176219b0da03af008eb7cab0c231785d52ff124a0
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record