GHSA-rxpq-xgqx-fr7p
InstructLab Includes Functionality from Untrusted Control Sphere
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | instructlab | <= 0.26.1 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.