CVEvulnerability
CVE-2026-6859
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-22
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-829
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.
Affected configurations
• redhat instructlab
• redhat enterprise linux ai 3.0
Related
Weakness · CWE (1)
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness
References
- https://access.redhat.com/security/cve/CVE-2026-6859 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2459998 Issue Tracking, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-6859 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2459998 Issue Tracking, Vendor Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6859.json security.access.redhat.com