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.
References
https://access.redhat.com/security/cve/CVE-2026-6859
https://bugzilla.redhat.com/show_bug.cgi?id=2459998
https://access.redhat.com/security/cve/CVE-2026-6859
https://bugzilla.redhat.com/show_bug.cgi?id=2459998
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
Vulnerability status
Modified
Published
2026-04-22T14:17:07.687Z
5 months agoLast modified
2026-07-15T01:16:56.807Z
2 months ago