Skip to main content
← Vulnerabilities

huggingface finetrainers Model Index model.py resolve_component_cls code injection

5.3MediumCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Not reported
Published
Last modified
17/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

A code injection flaw in the Model Index Handler of huggingface finetrainers, in the resolve_component_cls function of finetrainers/utils/model.py, lets an attacker run injected code by manipulating the Library argument. The attack can be launched remotely over the network without logging in.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

17Pcve.now Index 17 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity5.3/10CVSS 5.3
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 72 if added to CISA KEV
  • Would score about 67 if CISA's SSVC rates exploitation active
  • Would score about 32 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • huggingface finetrainers

    0.1.0, 0.2.0

Evidence 7

  1. Advisory
  2. Advisory
  3. Advisory
  4. Advisory
  5. Exploit
Show all 7 sourcesShow fewer sources
  1. Report
  2. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124588

Is CVE-2026-124588 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-124588?

finetrainers: versions 0.1.0, 0.2.0.Source: cve.now feed data