Review reviewHigh

CVE-2026-6859

Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3, instructlab, enterprise linux ai

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.

CVSS
8.8
EPSS
0.42%
33.8% percentile
CISA KEV
Not listed
Published
2026.04.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.42%
Technical severityCVSS 8.8

Vulnerability overview

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 product and versions

Product
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3, instructlab, enterprise linux ai
Affected versions
3.0
Fixed versions
No verified fixed-version field is available yet

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3, instructlab, enterprise linux ai and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE
CWE-829
CVE-2026-6859 — Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3, instructlab, enterprise linux ai | SECUFOCUS NOW