CVE-2026-124588 huggingface finetrainers Model Index model.py resolve_component_cls code injection
MediumCVSS 5.3
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| huggingface finetrainers | = 0.1.0; = 0.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| huggingface finetrainers | = 0.1.0 | No fix listed |
| huggingface finetrainers | = 0.2.0 | No fix listed |
References
- VDB-433012 | huggingface finetrainers Model Index model.py resolve_component_cls code injection technical-description vdb-entry
- VDB-433012 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- 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
- github.com issue-tracking
- github.com exploit
- github.com product
- ENISA EUVD EUVD-2026-119898 third-party-advisory