CVE-2026-124588 Details
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.
A code injection vulnerability has been identified in Hugging Face Finetrainers versions 0.1.0 and 0.2.0. The issue arises in the Model Index Handler component, specifically within the resolve_component_cls function in finetrainers/utils/model.py. The vulnerability allows for arbitrary code execution by manipulating the Library argument, and can be exploited remotely. This vulnerability has been publicly disclosed and is actively exploitable.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/huggingface/finetrainers/ | [email protected] | Vendor |
| https://github.com/huggingface/finetrainers/issues/435 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/33587108/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-124588 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1040375 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/433012 | [email protected] | Content Wall |
| https://vuldb.com/vuln/433012/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| huggingface finetrainers | 0.1.0 (semver) 0.2.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 9, 2026 | New CVE Received | [email protected] |
Volerion