Code injection in Hugging Face finetrainers Model Index handler
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Hugging Face finetrainers versions 0.1.0 and 0.2.0 contain a code injection flaw in the resolve_component_cls function of finetrainers/utils/model.py, where the Library argument is not properly neutralized before use. A remote attacker can inject code without authentication, and user interaction is required. A public exploit has been released and may be used for attacks. The project was informed early through an issue report but has not responded.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
A security flaw has been discovered in huggingface finetrainers 0.1.0/0.2.0. The impacted element is the function resolve_component_cls of the file finetrainers/utils/model.py of the component Model Index Handler. Performing a manipulation of the argument Library results in code injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| huggingface | finetrainers | 0.1.0; 0.2.0 | — | No fix listed | CNA |
- finetrainers Vendorhuggingface Affected 0.1.0; 0.2.0 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:huggingface:finetrainers:*:*:*:*:*:*:*:* | — | — | huggingface |
- cpe:2.3:a:huggingface:finetrainers:*:*:*:*:*:*:*:* Versions — — ·huggingface
Remediation
The sources list no fixed version for finetrainers.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Timeline
- 2026-11-09 Threatist record created from CVE-2026-124588
- 2026-11-09 Alias added: GHSA-jx9r-269r-fp82
- 2026-11-13 CISA SSVC decision points changed
References
More huggingface vulnerabilities
- TI-2026-48351 sentence-transformers Arbitrary Code Execution on Local Model Load Despite trust_remote_code=False CVSS 4.0CRITICAL 9.3
- TI-2026-20914 LeRobot Unsafe Deserialization Remote Code Execution via gRPC CVSS 4.0CRITICAL 9.3
- TI-2026-04577 Policy Bypass in LightGlue Nested Config Resolution in huggingface/transformers CVSS 3.1CRITICAL 9.6
- TI-2025-04589 Sandbox Escape Vulnerability in huggingface/smolagents CVSS 3.1CRITICAL 10.0
- TI-2026-79938 Hugging Face Datasets Pickle Deserialization RCE via Pandas Builder CVSS 4.0HIGH 8.7
- TI-2026-32710 Diffusers: None.py Trust Remote Code Bypass CVSS 3.1HIGH 8.8
Sources
- CVE-2026-124588 · CVE Program
- CVE-2026-124588 · NVD
- FIRST EPSS
- GHSA-jx9r-269r-fp82 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences