ADVISORIES

Vulnerability

CVE-2026-6859

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories

  • GHSA-rxpq-xgqx-fr7p

    InstructLab Includes Functionality from Untrusted Control Sphere

    High CVE-2026-6859 PyPI Updated 13 July 2026
  • PYSEC-2026-2522

    InstructLab Includes Functionality from Untrusted Control Sphere

    CVE-2026-6859 PyPI Updated 13 July 2026

References