Skip to content
HighVulnerability

CVE-2026-6859: InstructLab code execution via untrusted HuggingFace model loading

Identifier
CVE-2026-6859
Published
Record updated
View JSON
Affected
  • instructlab <= 0.26.1
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2026-6859 affects InstructLab. The `linux_train.py` script hardcodes `trust_remote_code=True` when loading models from HuggingFace, so a remote attacker can achieve arbitrary Python code execution by persuading a user to run `ilab train/download/generate` with a crafted malicious model from the HuggingFace Hub. The weakness is classified as CWE-829, and NVD had not yet provided an assessment at publication.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.