๐Ÿ” CVE Alert

CVE-2026-6859

HIGH 8.8

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

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-829
Vendor red hat
Product red hat enterprise linux ai (rhel ai) 3
Published Apr 22, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat enterprise linux ai (rhel ai) 3

Be the first to know when new high vulnerabilities affecting red hat red hat enterprise linux ai (rhel ai) 3 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected
Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected
Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected
Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected
Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected
Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-6859 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2459998

Credits

Red Hat would like to thank Martin Brodeur (independent security researcher) for reporting this issue.