cvedb.io
CVE-2026-6859
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2026-04-22T14:17:07.687 · Last modified 2026-06-30T03:21:18.290

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.

Affected products

redhat — instructlab

Does this affect you?

Add your gear to cvedb and we'll alert you only when redhat ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.