8.8
/ 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
AI Analysis
Arbitrary code execution due to hardcoded trust_remote_code=True in InstructLab
Basic Information
ID
CVE-2026-6859
Source
redhat
Published
Apr 22, 2026 at 13:04
Affected Product
Vendor
Red Hat
Product
Red Hat Enterprise Linux AI (RHEL AI) 3
CWE Classification
AI Assessment
AI Score
8.8 / 10
AI Severity
High
Vendor
Red Hat
Product
InstructLab