Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-6859
VULNERABILITY

CVE-2026-6859

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Timeline

Published
Apr 22, 2026 14:17
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-829

Affected product identifiers

cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:*

References