← Übersicht Nicht im beobachteten Stack

sentence-transformers Arbitrary Code Execution on Local Model Load Despite trust_remote_code=False

CVE-2026-68770 · CLSA-2026-1790851862 · GHSA-jhr6-gm9c-rqjv · PYSEC-2026-4164

Kritisch · CVSS 9.8 Red Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
31.07.2026 22:56
Zuletzt geändert
17.11.2026
EPSS (30 Tage)
0.9 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

sentence-transformers contains a security control bypass vulnerability that allows attackers to achieve arbitrary code execution by exploiting a logic flaw in the import_module_class helper within sentence_transformers/util/misc.py, where the guard condition includes an 'or os.path.exists(model_name_or_path)' clause that satisfies the trust gate whenever the supplied path exists on the local filesystem, regardless of the trust_remote_code=False argument. Attackers who can control or influence the contents of a model directory on disk can place malicious Python files such as modeling_*.py referenced via modules.json, causing the code to execute at import time when an application loads the model with SentenceTransformer(path, trust_remote_code=False), bypassing the documented security contract and achieving code execution within the loading process.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 5 betroffen, 3 behoben, 5 nicht betroffen.

Lightspeed Core BetroffenFix ausstehend lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9
OpenShift Lightspeed BetroffenFix ausstehend openshift-lightspeed/lightspeed-service-api-rhel9
Red Hat Ansible Automation Platform 2 Betroffenwird nicht behoben ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-26/lightspeed-chatbot-rhel9, ansible-automation-platform-27/lightspeed-chatbot-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3 BetroffenFix ausstehend rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3 Betroffenwird nicht behoben rhelai3/bootc-gaudi-rhel9
Red Hat OpenShift AI (RHOAI) BetroffenFix ausstehend rhoai/odh-openvino-model-server-rhel9
Red Hat OpenShift AI 2.25 Behoben rhoai/odh-caikit-nlp-rhel9 RHSA-2026:87410
Red Hat OpenShift AI 3.3 Behoben rhoai/odh-trustyai-nemo-guardrails-server-rhel9 RHSA-2026:73987
Red Hat OpenShift AI 3.4 Behoben rhoai/odh-trustyai-nemo-guardrails-server-rhel9 RHSA-2026:84734
Nicht betroffen (7)
OpenShift LightspeedNicht betroffenverwundbarer Code wird nicht ausgeführtopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9
OpenShift LightspeedNicht betroffenKomponente nicht enthaltenopenshift-lightspeed/lightspeed-ocp-rag-rhel9
Red Hat OpenShift AI (RHOAI)Nicht betroffenverwundbarer Code wird nicht ausgeführtrhoai/odh-caikit-tgis-serving-rhel9
Red Hat OpenShift AI (RHOAI)Nicht betroffenfür Angreifer nicht steuerbarrhoai/odh-llama-stack-core-rhel9
Red Hat OpenShift AI 2.25Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-built-in-detector-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, rhoai/odh-codeflare-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-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-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-kueue-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9, rhoai/odh-llm-d-inference-scheduler-rhel9, rhoai/odh-llm-d-routing-sidecar-rhel9, rhoai/odh-ml-pipelines-api-server-v2-rhel9, rhoai/odh-ml-pipelines-driver-rhel9, rhoai/odh-ml-pipelines-launcher-rhel9 und 46 weitere
Red Hat OpenShift AI 3.3Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-built-in-detector-rhel9, rhoai/odh-cli-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-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-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kube-auth-proxy-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9, rhoai/odh-llm-d-inference-scheduler-rhel9, rhoai/odh-llm-d-routing-sidecar-rhel9, rhoai/odh-maas-api-rhel9, rhoai/odh-ml-pipelines-api-server-v2-rhel9, rhoai/odh-ml-pipelines-driver-rhel9, rhoai/odh-ml-pipelines-launcher-rhel9 und 57 weitere
Red Hat OpenShift AI 3.4Nicht betroffenverwundbarer Code nicht enthaltenrhoai/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-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-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-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kube-auth-proxy-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9 und 80 weitere
Weitere betroffene Pakete (4)
CVEHugging Face/sentence-transformerskein Fix bekanntCVE-2026-68770
PyPIsentence-transformers5.6.0GHSA-jhr6-gm9c-rqjv
PyPIsentence-transformers5.6.0PYSEC-2026-4164
TuxCare:PyPIsentence-transformers2.7.0.post0 → 2.7.0.post3+tuxcareCLSA-2026-1790851862

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.