# CVE-2026-124588: huggingface finetrainers Model Index model.py resolve_component_cls code injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T09:45:17.033Z
- Modified: 2026-11-13T04:17:43.583Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- huggingface finetrainers: 0.1.0; 0.2.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/user-attachments/files/33587108/poc.zip> (exploit)
- <https://vuldb.com/vuln/433012> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/433012/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-124588> (third-party-advisory)
- <https://vuldb.com/submit/1040375> (third-party-advisory)
- <https://github.com/huggingface/finetrainers/issues/435> (issue-tracking)
- <https://github.com/huggingface/finetrainers/> (product)

## Sources

- CVE List: [CVE-2026-124588](https://www.cve.org/CVERecord?id=CVE-2026-124588), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-124588](https://nvd.nist.gov/vuln/detail/CVE-2026-124588), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-124588 · Whole record: https://cve.day/CVE-2026-124588.json · Rebuilt by cve.day 2026-11-25T22:59:49.573Z
