---
id: CVE-2026-112075
title: >-
  unslothai unsloth sentence_transformer.py externally-controlled input to
  select classes or code
summary: >-
  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
  Ty…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'
cvssSource: cna
cwe:
  - CWE-470
vendor: unslothai
product: unsloth
affected:
  - unsloth 0.1.501-beta
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-19T15:46:35.739324Z'
exploitAvailable: true
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T16:36:42.853Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112075'
references:
  - url: 'https://vuldb.com/vuln/421754'
    label: >-
      VDB-421754 | unslothai unsloth sentence_transformer.py
      externally-controlled input to select classes or code
  - url: 'https://vuldb.com/vuln/421754/cti'
    label: 'VDB-421754 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-112075'
    label: CVE-2026-112075 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1009576'
    label: >-
      Submit #1009576 | Unsloth AI Unsloth up to 2026.9.11 (commit
      de801746386a53a0cb26216e715a0af863b76ad9) Unsafe Reflection
  - url: 'https://github.com/unslothai/unsloth/issues/12419'
  - url: 'https://github.com/unslothai/unsloth/pull/11560'
  - url: 'https://github.com/user-attachments/files/32908312/poc.zip'
  - url: >-
      https://github.com/unslothai/unsloth/commit/de801746386a53a0cb26216e715a0af863b76ad9
  - url: 'https://github.com/unslothai/unsloth/releases/tag/v0.1.902-beta'
  - url: 'https://github.com/unslothai/unsloth/'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112075.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-112075'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555362'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-112075'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-112075'
tags:
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00325
epssPercentile: 0.24046
scores:
  cna: 6.3
  vendor: 7.8
ingestedAt: '2026-10-19T04:02:15.997Z'
---

## Overview

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.

## Affected

- `unsloth 0.1.501-beta`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat OpenShift AI (RHOAI) · no fix planned: Red Hat OpenShift AI (RHOAI) · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112075.json)
