{"id":"CVE-2026-112075","aliases":[],"summary":"unslothai unsloth sentence_transformer.py externally-controlled input to select classes or code","published_at":"2026-10-19T03:45:20.785Z","modified_at":"2026-10-29T16:45:51Z","products":[],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0032500000670552254,"percentile":0.260560005903244,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"unslothai/unsloth","versions":["0.1.501-beta"],"provider":"cvelistv5","source":"CVE-2026-112075","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-th06-cuda130-torch210-py312-rhel9","rhoai/odh-th06-rocm64-torch291-py312-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-th06-cuda130-torch291-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.5","cpe":"cpe:/a:redhat:openshift_ai:3.5::el9","status":"fixed","packages":["rhoai/odh-th-torch-cuda-py312-rhel9","rhoai/odh-th-torch-rocm-py312-rhel9","rhoai/odh-training-cuda128-torch29-py312-rhel9","rhoai/odh-training-rocm64-torch29-py312-rhel9"],"package_count":4,"fixed":[],"advisories":["RHSA-2026:95872"],"provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.5","cpe":"cpe:/a:redhat:openshift_ai:3.5::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-operator-rhel9","rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-module-operator-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-localmodel-controller-rhel9","rhoai/odh-kserve-localmodelnode-agent-rhel9"],"package_count":115,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-112075"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-112075","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-112075","license":"CC-BY-4.0","published_at":"2026-10-19T03:45:20.785Z","modified_at":"2026-10-19T16:36:42.853Z","summary":"unslothai unsloth sentence_transformer.py externally-controlled input to select classes or code","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-112075"},{"type":"CVSS_V3","score":"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","source":"CVE-2026-112075"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","source":"CVE-2026-112075"},{"type":"CVSS_V2","score":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","source":"CVE-2026-112075"}],"affected":[{"ecosystem":"CVE","package":"unslothai/unsloth","versions":["0.1.501-beta"],"provider":"cvelistv5","source":"CVE-2026-112075","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://vuldb.com/vuln/421754"},{"type":"WEB","url":"https://vuldb.com/vuln/421754/cti"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-112075"},{"type":"WEB","url":"https://vuldb.com/submit/1009576"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/issues/12419"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/pull/11560"},{"type":"EXPLOIT","url":"https://github.com/user-attachments/files/32908312/poc.zip"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/commit/de801746386a53a0cb26216e715a0af863b76ad9"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/releases/tag/v0.1.902-beta"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/"}]},{"provider":"redhat-vex","source_id":"CVE-2026-112075","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-112075","license":"CC-BY-4.0","published_at":"2026-10-19T03:45:20.785Z","modified_at":"2026-10-29T16:45:51Z","summary":"unsloth: unsloth: Arbitrary code execution via unsafe class selection","details":"A flaw was found in unsloth. The sentence transformer module improperly validates user-controlled input when resolving class references. A remote attacker could exploit this vulnerability by enticing a user to process specially crafted input, potentially leading to arbitrary code execution and unintended application behavior.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-112075"},{"type":"Red Hat","score":"Important","source":"CVE-2026-112075"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-th06-cuda130-torch210-py312-rhel9","rhoai/odh-th06-rocm64-torch291-py312-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-th06-cuda130-torch291-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.5","cpe":"cpe:/a:redhat:openshift_ai:3.5::el9","status":"fixed","packages":["rhoai/odh-th-torch-cuda-py312-rhel9","rhoai/odh-th-torch-rocm-py312-rhel9","rhoai/odh-training-cuda128-torch29-py312-rhel9","rhoai/odh-training-rocm64-torch29-py312-rhel9"],"package_count":4,"fixed":[],"advisories":["RHSA-2026:95872"],"provider":"redhat-vex","source":"CVE-2026-112075"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.5","cpe":"cpe:/a:redhat:openshift_ai:3.5::el9","status":"not_affected","packages":["rhoai/odh-ai-gateway-operator-rhel9","rhoai/odh-ai-gateway-payload-processing-rhel9","rhoai/odh-automl-rhel9","rhoai/odh-autorag-rhel9","rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-eval-hub-rhel9","rhoai/odh-feast-module-operator-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-autogluon-server-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-llmisvc-controller-rhel9","rhoai/odh-kserve-localmodel-controller-rhel9","rhoai/odh-kserve-localmodelnode-agent-rhel9"],"package_count":115,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-112075"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112075.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-112075"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555362"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-112075"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112075"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/commit/de801746386a53a0cb26216e715a0af863b76ad9"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/issues/12419"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/pull/11560"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/releases/tag/v0.1.902-beta"},{"type":"WEB","url":"https://github.com/user-attachments/files/32908312/poc.zip"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-112075"},{"type":"WEB","url":"https://vuldb.com/submit/1009576"},{"type":"WEB","url":"https://vuldb.com/vuln/421754"},{"type":"WEB","url":"https://vuldb.com/vuln/421754/cti"}]}],"references":[{"type":"WEB","url":"https://vuldb.com/vuln/421754"},{"type":"WEB","url":"https://vuldb.com/vuln/421754/cti"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-112075"},{"type":"WEB","url":"https://vuldb.com/submit/1009576"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/issues/12419"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/pull/11560"},{"type":"EXPLOIT","url":"https://github.com/user-attachments/files/32908312/poc.zip"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/commit/de801746386a53a0cb26216e715a0af863b76ad9"},{"type":"FIX","url":"https://github.com/unslothai/unsloth/releases/tag/v0.1.902-beta"},{"type":"WEB","url":"https://github.com/unslothai/unsloth/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112075.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-112075"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555362"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-112075"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112075"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-112075","url":"https://www.cve.org/CVERecord?id=CVE-2026-112075","license":"CC-BY-4.0","modified_at":"2026-10-19T16:36:42.853Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-112075","url":"https://access.redhat.com/security/cve/CVE-2026-112075","license":"CC-BY-4.0","modified_at":"2026-10-29T16:45:51Z","relation":"self"}]}
