CVE-2026-124588
huggingface finetrainers Model Index model.py resolve_component_cls code injection
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| finetrainers huggingface |
0.1.0 (affected) 0.2.0 (affected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: VulDB |
| 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 | CNA: VulDB |
| 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 | CNA: VulDB |
| 2.0 / 7.5 high |
AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C | CNA: VulDB |
Exploit evidence
- https://github.com/user-attachments/files/33587108/poc.zip
exploit · CNA: VulDB
References
- https://vuldb.com/vuln/433012CNA: VulDB · vdb-entry, technical-description
- https://vuldb.com/vuln/433012/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-124588CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1040375CNA: VulDB · third-party-advisory
- https://github.com/huggingface/finetrainers/issues/435CNA: VulDB · issue-tracking
- https://github.com/user-attachments/files/33587108/poc.zipCNA: VulDB · exploit
- https://github.com/huggingface/finetrainers/CNA: VulDB · product
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.