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 CPE's



Weaknesses



CWE-829

0b0ca135-0b70-47e7-9f44-1890c2a1c46c

Secondary

CWE-829

CVSS impact metrics


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

8.8 · High

Information


Source identifier

[email protected]

Vulnerability status

Modified

Published

2026-04-22T14:17:07.687Z

5 months ago

Last modified

2026-07-15T01:16:56.807Z

2 months ago