GitHub Advisoryadvisory · PyPI

GHSA-rxpq-xgqx-fr7p InstructLab Includes Functionality from Untrusted Control Sphere

HIGH Published 2026-04-22 Modified 2026-04-29 Official page ↗
Aliases
CVE-2026-6859
Ecosystem
PyPI
Packages
instructlab
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-829
Reviewed
2026-04-29

Affected packages

• PyPI instructlab: <= 0.26.1 (no fix yet)

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.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness

References