6.3Medium

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

huggingface finetrainers Published: (10 days ago)

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.

Weakness (CWE): CWE-94CWE-74

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
huggingface finetrainers 0.1.0, 0.2.0

References and patches