8.8

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

Modified
AliasesGHSA-rxpq-xgqx-fr7pPYSEC-2026-2522
Published 22-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-6859 is a high (CVSS 8.8) vulnerability in redhat enterprise_linux_ai. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 22-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.44% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat2 products
PyPI1 product
  • instructlab≤ 0.26.1

2 vendors · 3 products

References

7 links