{"id":"CVE-2026-124588","published":"2026-11-09T09:45:17Z","modified":"2026-11-13T03:49:22Z","title":"huggingface finetrainers Model Index model.py resolve_component_cls code injection","vendor":"huggingface","product":"finetrainers","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.25078,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://vuldb.com/vuln/433012","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/433012/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-124588","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/1040375","tags":["third-party-advisory"]},{"url":"https://github.com/huggingface/finetrainers/issues/435","tags":["issue-tracking"]},{"url":"https://github.com/user-attachments/files/33587108/poc.zip","tags":["exploit"]},{"url":"https://github.com/huggingface/finetrainers/","tags":["product"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":5.02},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"huggingface","affectedVersions":[{"vendor":"huggingface","product":"finetrainers","versions":["0.1.0","0.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T03:49:13.963263Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-119898","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/user-attachments/files/33587108/poc.zip"]}