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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| huggingface | finetrainers | 0.1.0, 0.2.0 | — |
References
- VDB-433012 | huggingface finetrainers Model Index model.py resolve_component_cls code injection vdb-entry technical-description
- VDB-433012 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- CVE-2026-124588 | CVE Analysis and Report third-party-advisory
- Submit #1040375 | Hugging Face finetrainers 0.2.0 (commit 7e9257aae285; main branch still affected as of 2026-10-14) Code Injection third-party-advisory
- https://github.com/huggingface/finetrainers/issues/435 issue-tracking
- https://github.com/user-attachments/files/33587108/poc.zip exploit
- https://github.com/huggingface/finetrainers/ product