GHSA-rxpq-xgqx-fr7p
InstructLab Includes Functionality from Untrusted Control Sphere
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-6859
- Alias
- PYSEC-2026-2522
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · instructlab | introduced 0, last affected 0.26.1 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-6859 ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-6859 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2459998 WEB
- https://github.com/instructlab/instructlab PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |