Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Affected: sentence-transformers versions before 5.6.0. Loading a local model directory with trust_remote_code=False still runs custom Python files from that directory, because a logic flaw in the import helper treats any existing local path as trusted. An attacker who can control or modify the contents of a model directory can get code executed in the process that loads the model. Upgrade to sentence-transformers 5.6.0 or later. The source gives no other workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.3 | Critical | 4.0 | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0091, the 60th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Jul 2026, 20:56 UTC Confirmed by the CVE List
- 31 Oct 2026, 14:09 UTC First seen by agentprime
- 31 Oct 2026, 14:09 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-jhr6-gm9c-rqjv
- OSV: GHSA-jhr6-gm9c-rqjv
- nvd.nist.gov/vuln/detail/CVE-2026-68770
- github.com/huggingface/sentence-transformers/issues/3801
- github.com/huggingface/sentence-transformers/pull/3807
- github.com/huggingface/sentence-transformers/pull/3935
- github.com/huggingface/sentence-transformers/commit/626eb602b088878a8173bcab69225f68411b99e1
- github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316a
- github.com/huggingface/sentence-transformers
- github.com/huggingface/sentence-transformers/releases/tag/v5.6.0
- github.com/huggingface/sentence-transformers/releases/tag/v6.0.0
- www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-false