CVE-2026-112075 unslothai unsloth sentence_transformer.py externally-controlled input to select classes or code

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via externally-controlled input in the FastSentenceTransformer module of the unsloth library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-112075?

CVE-2026-112075 is a medium-severity code injection vulnerability in unslothai unsloth, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A weakness has been identified in unslothai unsloth up to 0.1.501-beta. This affects the function FastSentenceTransformer._is_transformer_module_ref of the file unsloth/models/sentence_transformer.py. This manipulation of the argument Type causes use of externally-controlled input to select classes or code. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 0.1.902-beta is able to mitigate this issue. Patch name: de801746386a53a0cb26216e715a0af863b76ad9. The affected component should be upgraded.

Weakness: CWE-470

Which versions are affected by CVE-2026-112075?

How do I fix CVE-2026-112075?

No fix has been published for CVE-2026-112075 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-112075 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112075 exists.

Sources

Also known as GHSA-fmj9-5fq7-mvjg.

Is CVE-2026-112075 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free