8.8Alta

CVE-2026-6859Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`

Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Publicada: (hace 7 meses)

Descripción

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.

Debilidad (CWE): CWE-829

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
redhat enterprise linux ai 3.0
redhat instructlab —
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 all versions

Referencias y parches

Coincidencias CPE (NVD) (2)

  • cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:*