Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. instructlab
  4. ›
  5. CVE-2026-6859

CVE-2026-6859: InstructLab Includes Functionality from Untrusted Control Sphere

April 22, 2026 (updated April 29, 2026)

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.

References

  • access.redhat.com/security/cve/CVE-2026-6859
  • bugzilla.redhat.com/show_bug.cgi?id=2459998
  • github.com/advisories/GHSA-rxpq-xgqx-fr7p
  • nvd.nist.gov/vuln/detail/CVE-2026-6859

Code Behaviors & Features

Detect and mitigate CVE-2026-6859 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.26.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

pypi/instructlab/CVE-2026-6859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:58 +0000.