8.8Hoch

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

Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 Veröffentlicht: (vor 7 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-829

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

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

Referenzen und Patches

CPE-Treffer (NVD) (2)

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