{"id":"CVE-2026-68770","aliases":["CLSA-2026-1790851862","GHSA-jhr6-gm9c-rqjv","PYSEC-2026-4164"],"summary":"sentence-transformers Arbitrary Code Execution on Local Model Load Despite trust_remote_code=False","published_at":"2026-07-31T20:56:06.867Z","modified_at":"2026-11-17T13:30:08.776174Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"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.009089999832212925,"percentile":0.6069599986076355,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Hugging Face/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.5.1"}]}],"provider":"cvelistv5","source":"CVE-2026-68770","relation":"self"},{"ecosystem":"PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.0"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.4.1","0.2.5","0.2.5.1","0.2.6","0.2.6.1","0.2.6.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.5.1","0.3.6","0.3.7","0.3.7.1","0.3.7.2","0.3.8","0.3.9","0.4.0","0.4.1","0.4.1.1","0.4.1.2","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.6.1","2.7.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","4.0.0","4.0.1","4.0.2","4.1.0","5.0.0","5.1.0","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","5.2.3","5.3.0","5.4.0","5.4.1","5.5.0","5.5.1"],"fixed":["5.6.0"],"provider":"osv","source":"GHSA-jhr6-gm9c-rqjv","relation":"self"},{"ecosystem":"PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.0"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.4.1","0.2.5","0.2.5.1","0.2.6","0.2.6.1","0.2.6.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.5.1","0.3.6","0.3.7","0.3.7.1","0.3.7.2","0.3.8","0.3.9","0.4.0","0.4.1","0.4.1.1","0.4.1.2","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.6.1","2.7.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","4.0.0","4.0.1","4.0.2","4.1.0","5.0.0","5.1.0","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","5.2.3","5.3.0","5.4.0","5.4.1","5.5.0","5.5.1"],"fixed":["5.6.0"],"provider":"osv","source":"PYSEC-2026-4164","relation":"self"},{"ecosystem":"TuxCare:PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0.post0"},{"fixed":"2.7.0.post3+tuxcare"}]}],"versions":["2.7.0","2.7.0.post1+tuxcare","2.7.0.post2+tuxcare"],"fixed":["2.7.0.post3+tuxcare"],"provider":"osv","source":"CLSA-2026-1790851862","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9","lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8","ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/lightspeed-chatbot-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-gaudi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-openvino-model-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-caikit-tgis-serving-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_cannot_be_controlled_by_adversary","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-caikit-nlp-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:87410"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/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"],"package_count":71,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:73987"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["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-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"],"package_count":82,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:84734"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["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-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"],"package_count":105,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-68770","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-68770","license":"CC-BY-4.0","published_at":"2026-07-31T20:56:06.867Z","modified_at":"2026-11-08T14:08:16.653Z","summary":"sentence-transformers Arbitrary Code Execution on Local Model Load Despite trust_remote_code=False","details":"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.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"CVE-2026-68770"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-68770"}],"affected":[{"ecosystem":"CVE","package":"Hugging Face/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.5.1"}]}],"provider":"cvelistv5","source":"CVE-2026-68770","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/issues/3801"},{"type":"ADVISORY","url":"https://github.com/huggingface/sentence-transformers/pull/3807"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers"},{"type":"FIX","url":"https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false"}]},{"provider":"osv","source_id":"CLSA-2026-1790851862","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1790851862","published_at":"2026-10-01T10:51:02Z","modified_at":"2026-11-17T13:30:08.776174Z","summary":"TuxCare security update for sentence-transformers (1 CVE)","details":"TuxCare rebuilt sentence-transformers to address 1 CVE. Fixed in 2.7.0.post3+tuxcare.","severity":[],"affected":[{"ecosystem":"TuxCare:PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0.post0"},{"fixed":"2.7.0.post3+tuxcare"}]}],"versions":["2.7.0","2.7.0.post1+tuxcare","2.7.0.post2+tuxcare"],"fixed":["2.7.0.post3+tuxcare"],"provider":"osv","source":"CLSA-2026-1790851862","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-jhr6-gm9c-rqjv","relation":"self","url":"https://osv.dev/vulnerability/GHSA-jhr6-gm9c-rqjv","license":"CC-BY-4.0","published_at":"2026-07-31T21:31:59Z","modified_at":"2026-10-01T17:55:41.036478Z","summary":"sentence-transformers local model loading bypasses trust_remote_code and executes custom Python","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-jhr6-gm9c-rqjv"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GHSA-jhr6-gm9c-rqjv"}],"affected":[{"ecosystem":"PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.0"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.4.1","0.2.5","0.2.5.1","0.2.6","0.2.6.1","0.2.6.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.5.1","0.3.6","0.3.7","0.3.7.1","0.3.7.2","0.3.8","0.3.9","0.4.0","0.4.1","0.4.1.1","0.4.1.2","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.6.1","2.7.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","4.0.0","4.0.1","4.0.2","4.1.0","5.0.0","5.1.0","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","5.2.3","5.3.0","5.4.0","5.4.1","5.5.0","5.5.1"],"fixed":["5.6.0"],"provider":"osv","source":"GHSA-jhr6-gm9c-rqjv","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68770"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/issues/3801"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3807"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3935"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/626eb602b088878a8173bcab69225f68411b99e1"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a"},{"type":"PACKAGE","url":"https://github.com/huggingface/sentence-transformers"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v5.6.0"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v6.0.0"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false"}]},{"provider":"osv","source_id":"PYSEC-2026-4164","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-4164","license":"CC-BY-4.0","published_at":"2026-10-01T16:38:29.083815Z","modified_at":"2026-10-01T17:45:16.845967Z","summary":"sentence-transformers local model loading bypasses trust_remote_code and executes custom Python","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"PYSEC-2026-4164"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"PYSEC-2026-4164"}],"affected":[{"ecosystem":"PyPI","package":"sentence-transformers","purl":"pkg:pypi/sentence-transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.0"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.4.1","0.2.5","0.2.5.1","0.2.6","0.2.6.1","0.2.6.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.5.1","0.3.6","0.3.7","0.3.7.1","0.3.7.2","0.3.8","0.3.9","0.4.0","0.4.1","0.4.1.1","0.4.1.2","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.6.1","2.7.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","4.0.0","4.0.1","4.0.2","4.1.0","5.0.0","5.1.0","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","5.2.3","5.3.0","5.4.0","5.4.1","5.5.0","5.5.1"],"fixed":["5.6.0"],"provider":"osv","source":"PYSEC-2026-4164","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68770"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/issues/3801"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3807"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3935"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/626eb602b088878a8173bcab69225f68411b99e1"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a"},{"type":"PACKAGE","url":"https://github.com/huggingface/sentence-transformers"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v5.6.0"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v6.0.0"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false"},{"type":"PACKAGE","url":"https://pypi.org/project/sentence-transformers"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jhr6-gm9c-rqjv"}]},{"provider":"redhat-vex","source_id":"CVE-2026-68770","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-68770","license":"CC-BY-4.0","published_at":"2026-07-31T20:56:06.867Z","modified_at":"2026-08-06T16:56:24Z","summary":"sentence-transformers: sentence-transformers: Remote Code Execution via Security Control Bypass","details":"A flaw was found in sentence-transformers. A remote attacker could exploit a logic flaw to bypass a security control designed to prevent the execution of untrusted code. This vulnerability allows for arbitrary code execution when an application loads a model from a directory that has been influenced by the attacker, even if the `trust_remote_code=False` setting is enabled. This could lead to unauthorized code being run on the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-68770"},{"type":"Red Hat","score":"Important","source":"CVE-2026-68770"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"affected","packages":["lightspeed-core/lightspeed-stack-rhel9","lightspeed-core/rag-tool-cpu-rhel9","lightspeed-core/rag-tool-cuda-12.9-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8","ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/lightspeed-chatbot-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-gaudi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-openvino-model-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-caikit-tgis-serving-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_cannot_be_controlled_by_adversary","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-caikit-nlp-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:87410"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/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"],"package_count":71,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:73987"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["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-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"],"package_count":82,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-trustyai-nemo-guardrails-server-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:84734"],"provider":"redhat-vex","source":"CVE-2026-68770"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["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-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"],"package_count":105,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-68770"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68770.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-68770"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2509932"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-68770"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68770"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/issues/3801"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3807"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false"}]}],"references":[{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/issues/3801"},{"type":"ADVISORY","url":"https://github.com/huggingface/sentence-transformers/pull/3807"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers"},{"type":"FIX","url":"https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68770"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/pull/3935"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/commit/626eb602b088878a8173bcab69225f68411b99e1"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v5.6.0"},{"type":"WEB","url":"https://github.com/huggingface/sentence-transformers/releases/tag/v6.0.0"},{"type":"PACKAGE","url":"https://pypi.org/project/sentence-transformers"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jhr6-gm9c-rqjv"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68770.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-68770"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2509932"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-68770"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-68770","url":"https://www.cve.org/CVERecord?id=CVE-2026-68770","license":"CC-BY-4.0","modified_at":"2026-11-08T14:08:16.653Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1790851862","url":"https://osv.dev/vulnerability/CLSA-2026-1790851862","modified_at":"2026-11-17T13:30:08.776174Z","relation":"self"},{"provider":"osv","source_id":"GHSA-jhr6-gm9c-rqjv","url":"https://osv.dev/vulnerability/GHSA-jhr6-gm9c-rqjv","license":"CC-BY-4.0","modified_at":"2026-10-01T17:55:41.036478Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-4164","url":"https://osv.dev/vulnerability/PYSEC-2026-4164","license":"CC-BY-4.0","modified_at":"2026-10-01T17:45:16.845967Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-68770","url":"https://access.redhat.com/security/cve/CVE-2026-68770","license":"CC-BY-4.0","modified_at":"2026-08-06T16:56:24Z","relation":"self"}]}
