huggingface finetrainers Model Index model.py resolve_component_cls code injection
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 8, 2026
Description
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.
| Product | Versions |
|---|---|
| finetrainers huggingface | 0.1.0 Affected0.2.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulDB | |
| 3.1 | 6.3 Medium | VulDB | |
| 3.0 | 6.3 Medium | VulDB | |
| 2.0 | 7.5 High | VulDB |
Weaknesses
References
- VDB-433012 | huggingface finetrainers Model Index model.py resolve_component_cls code injectionVulnerability DatabaseTechnical Details
- VDB-433012 | CTI Indicators (IOB, IOC, TTP, IOA)Detection RuleSign-In Required
- CVE-2026-124588 | CVE Analysis and ReportThird-Party Advisory
- Submit #1040375 | Hugging Face finetrainers 0.2.0 (commit 7e9257aae285; main branch still affected as of 2026-10-14) Code InjectionThird-Party Advisory
- https://github.com/huggingface/finetrainers/issues/435Issue Tracker
- https://github.com/user-attachments/files/33587108/poc.zipExploit
- https://github.com/huggingface/finetrainers/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.