LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw can let a malicious HuggingFace model run Python code when a user uses affected InstructLab training, download, or generation workflows. It requires user interaction, but successful exploitation could compromise the system running the workflow.

Executive priority

Treat this as high priority for AI engineering and platform teams using RHEL AI 3. The risk is not internet-wormable, but trusted-user model workflows can become a full host compromise path.

Technical view

InstructLab’s linux_train.py hardcodes trust_remote_code=True when loading HuggingFace models. A crafted model can therefore execute attacker-controlled Python if a user runs ilab train, download, or generate against it. Red Hat maps this to CWE-829 and CVSS 8.8.

Likely exposure

Exposure is most likely in Red Hat Enterprise Linux AI 3 environments using the listed CUDA bootc packages. The source marks ROCm packages as unaffected. No vulnerable version ranges are provided.

Exploitation context

The provided sources do not report known active exploitation, and KEV is false. Exploitation requires convincing a user to invoke affected ilab workflows with a malicious HuggingFace Hub model.

Researcher notes

Evidence is specific to InstructLab behavior in Red Hat Enterprise Linux AI 3 package contexts. Sources do not provide patch versions, exploit samples, or confirmed exploitation. Avoid broad claims beyond the listed packages.

Mitigation direction

  • Check Red Hat CVE, Bugzilla, and VEX guidance for fixes or updated package status.
  • Do not run ilab workflows against untrusted HuggingFace models.
  • Restrict model sources to approved repositories and reviewed model revisions.
  • Isolate training and generation workloads from sensitive hosts and credentials.
  • Prioritize updates for affected RHEL AI 3 CUDA bootc images when available.

Validation and detection

  • Inventory RHEL AI 3 systems and bootc image package names.
  • Confirm whether CUDA bootc packages listed as affected are deployed.
  • Verify ROCm bootc packages are treated according to the Red Hat unaffected status.
  • Review ilab train, download, and generate usage with HuggingFace Hub models.
  • Check Red Hat advisories for fixed builds or revised VEX status.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-829: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-6859 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
7Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H2.85.9redhat
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H2.85.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-6859Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. ADP timelineredhat-SADP

    Reported to Red Hat.

  2. ADP timelineredhat-SADP

    Made public.

  3. Source timelineredhat

    Reported to Red Hat.

  4. Source timelineredhat

    Made public.

  5. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  6. CVE publishedCVE Program

    The CVE record was published.

  7. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPinstructlab: InstructLab: Arbitrary code execution due to hardcoded `trust_remote_code=True`
other:Red Hat severity ratingcvssV3_1
  • 2026-04-15T00:00:00.000Z: Reported to Red Hat.
  • 2026-04-15T00:00:00.000Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9affected
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9affected
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9unaffected
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9affected
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9affected
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-829 · source CWE mapping

Inclusion of Functionality from Untrusted Control Sphere

Inclusion of Functionality from Untrusted Control Sphere represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.