Vulnerability

CVE-2026-6859

highCVSS 3.1 8.8Published 22 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Red Hat instructlab, enterprise linux ai

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning