High severity · published Apr 22, 2026
CVE-2026-6859
Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`
8.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Enterprise Linux AI (RHEL AI) 3 · Red Hat
All versions, or not specified · source: vendor, CISA
EL
Enterprise Linux AI · Redhat
3.0 · source: NVD
IN
Instructlab · Redhat
All versions, or not specified · source: NVD
Affected product
RH
Red Hat Enterprise Linux AI (RHEL AI) 3
Red Hat
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-6859
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-6859
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-6859
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2459998
security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json
More from Red Hat Enterprise Linux AI (RHEL AI) 3
6.5
CVE-2026-48710
Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
10.0
CVE-2026-46595
Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
10.0
CVE-2026-42043
Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0
9.9
CVE-2025-62718
Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
9.8
CVE-2026-49121
AI Tensor Engine for ROCm (AITER) 0.1.14 Unauthenticated RCE via MessageQueue.recv() Pickle Deserialization
