# CVE-2026-6859

> Vulnerability · severity: **HIGH** (CVSS 8.8).

## 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.

## Key facts

- **CVE ID:** CVE-2026-6859
- **Published:** 2026-04-22
- **CVSS severity:** HIGH
- **CVSS base score:** 8.8
- **CWE codes:** CWE-829

## Affected products

- `redhat:instructlab`
- `redhat:enterprise_linux_ai`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-6859

## Citation

> AI Analytics. CVE-2026-6859. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-6859. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*