Read the docs
TI-2026-06016 Aliases CVE-2026-6859GHSA-rxpq-xgqx-fr7p

Instructlab: instructlab: arbitrary code execution due to hardcoded `trust_remote_code=true`

Priority MEDIUM 40CWE-829Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-829.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00441 38th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——No fix listedCNA
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——No fix listedCNA
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——Not affectedCNA
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——No fix listedCNA
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——No fix listedCNA
Red HatRed Hat Enterprise Linux AI (RHEL AI) 3——Not affectedCNA
—instructlab (PyPI)up to 0.26.1—No fix listedGHSA-rxpq-xgqx-fr7p
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux AI (RHEL AI) 3 VendorRed Hat Affected — Fixed in — Not affected CNA
  • instructlab (PyPI) Vendor— Affected up to 0.26.1 Fixed in — No fix listed GHSA-rxpq-xgqx-fr7p

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:*3.0VulnerableRed Hat
  • cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Red Hat

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Not affected: 1 product
  • Red Hat Enterprise Linux AI (RHEL AI) 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-6859
  2. 2026-10-03 Alias added: GHSA-rxpq-xgqx-fr7p
  3. 2026-10-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
  • TI-2026-06013 Instructlab: instructlab: path traversal allows arbitrary directory creation and file write CVSS 3.1HIGH 7.1

Sources