VDB

CVE-2026-68770

CVE-2026-68770 PUBLISHED CVSS 9.3 CRITICAL

Reported by vulncheck · Published July 31, 2026

sentence-transformers is fixed in 5.6.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sentence-transformersPyPI5.6.0
open-webuiWolfi0.11.4-r2
open-webuiChainguard0.11.4-r2
sentence-transformersHugging Face5.5.1

Risk scores

CVSS 4.0
9.3
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

Affected products

VendorProductVersions
Hugging Facesentence-transformers0
wolfiopen-webui0
chainguardopen-webui0
Hugging Facesentence-transformers0
PyPIsentence-transformers0
huggingfacetransformers0

Timeline

  • Jul 31, 2026 CVE Published
  • Aug 1, 2026 Coalition ESS Score
  • Aug 2, 2026 EPSS Score (27 in total, the first dated here)
  • Oct 8, 2026 CVE Updated
  • Oct 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68770
vulnetix vdb fixes CVE-2026-68770

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68770/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›