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.
CVE-2026-68770
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-31. the CNA's CVSS baseline 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 75(Attend)EG Risk 75/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 1%
- EPSS %ILE
- 42%
- KEV
- Not listed
Published
July 31, 2026
Last Modified
August 14, 2026
Advisory Details (5)
Auto-updated Aug 14, 2026sentence-transformers Arbitrary Code Execution on Local Model Load Despite trust_remote_code=False | Advisories | VulnCheck
https://www.vulncheck.com/advisories/sentence-transformers-arbitrary-code-execution-on-local-model-load-despite-trust-remote-code-falsecommit ae1acc3fb2aa (huggingface/sentence-transformers)
Fix landed in huggingface/sentence-transformers commit ae1acc3fb2aa — awaiting tagged release
https://github.com/huggingface/sentence-transformers/commit/ae1acc3fb2aa2004577b297eb4a915ce7a03316aGitHub - huggingface/sentence-transformers: State-of-the-Art Embeddings, Retrieval, and Reranking · GitHub
https://github.com/huggingface/sentence-transformers[`deprecation`] Warn when loading local custom code without trust_remote_code
Fix merged in huggingface/sentence-transformers PR #3807 on 2026-06-12 — awaiting tagged release
https://github.com/huggingface/sentence-transformers/pull/3807Remote Code Execution via trust_remote_code=False Bypass (Code Injection Vulnerability) · Issue #3801 · huggingface/sentence-transformers · GitHub
https://github.com/huggingface/sentence-transformers/issues/3801Vendor Advisories for CVE-2026-68770(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 61× in last 7d / 177× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 177 total refreshes for this CVE.
- 2026-08-21 05:49 UTCGHSA enrichment
- 2026-08-21 02:00 UTCEG score recompute
- 2026-08-21 02:00 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 22:10 UTCGHSA enrichment
- 2026-08-20 18:11 UTCGHSA enrichment
- 2026-08-20 14:22 UTCGHSA enrichment
- 2026-08-20 10:21 UTCGHSA enrichment
- 2026-08-20 06:33 UTCGHSA enrichment
- 2026-08-20 02:44 UTCGHSA enrichment
- 2026-08-19 22:53 UTCGHSA enrichment
- 2026-08-19 19:04 UTCEG score recompute
- 2026-08-19 19:03 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 14:53 UTCGHSA enrichment
- 2026-08-19 11:05 UTCGHSA enrichment
- 2026-08-19 07:15 UTCGHSA enrichment
- 2026-08-19 03:23 UTCGHSA enrichment
- 2026-08-18 23:28 UTCGHSA enrichment
- 2026-08-18 19:39 UTCGHSA enrichment
- 2026-08-18 15:50 UTCEG score recompute
- 2026-08-18 15:50 UTCGHSA enrichment
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 11:16 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-08-18 07:27 UTCGHSA enrichment
- 2026-08-18 03:36 UTCGHSA enrichment
- 2026-08-17 23:30 UTCGHSA enrichment
- 2026-08-17 19:39 UTCGHSA enrichment
- 2026-08-17 13:53 UTCEG score recompute
- 2026-08-17 13:53 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:04 UTCGHSA enrichment
- 2026-08-17 06:16 UTCGHSA enrichment
- 2026-08-17 02:28 UTCGHSA enrichment
- 2026-08-16 22:39 UTCGHSA enrichment
- 2026-08-16 18:50 UTCGHSA enrichment
- 2026-08-16 14:57 UTCEG score recompute
- 2026-08-16 14:57 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 11:08 UTCGHSA enrichment
- 2026-08-16 07:20 UTCGHSA enrichment
- 2026-08-16 03:31 UTCEG score recompute
- 2026-08-16 03:31 UTCGHSA enrichment
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 23:43 UTCGHSA enrichment
- 2026-08-15 19:54 UTCGHSA enrichment
- 2026-08-15 16:05 UTCGHSA enrichment
- 2026-08-15 12:16 UTCGHSA enrichment
- 2026-08-15 08:27 UTCGHSA enrichment
- 2026-08-15 04:38 UTCEG score recompute
- 2026-08-15 04:38 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:49 UTCGHSA enrichment
- 2026-08-14 21:00 UTCGHSA enrichment
- 2026-08-14 17:11 UTCEG score recompute
- 2026-08-14 17:11 UTCGHSA enrichment
- 2026-08-14 16:36 UTCGHSA enrichment
- 2026-08-14 12:44 UTCGHSA enrichment
- 2026-08-14 08:55 UTCGHSA enrichment
- 2026-08-14 05:07 UTCGHSA enrichment
- 2026-08-14 01:18 UTCEG score recompute
- 2026-08-14 01:18 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 21:29 UTCGHSA enrichment
- 2026-08-13 17:40 UTCGHSA enrichment
- 2026-08-13 13:46 UTCGHSA enrichment
- 2026-08-13 09:58 UTCGHSA enrichment
- 2026-08-13 06:10 UTCGHSA enrichment
- 2026-08-13 02:20 UTCGHSA enrichment
- 2026-08-12 22:32 UTCGHSA enrichment
- 2026-08-12 18:43 UTCGHSA enrichment
- 2026-08-12 14:55 UTCEG score recompute
- 2026-08-12 14:55 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 11:06 UTCGHSA enrichment
- 2026-08-12 07:16 UTCGHSA enrichment
- 2026-08-12 03:27 UTCGHSA enrichment
- 2026-08-11 23:38 UTCGHSA enrichment
- 2026-08-11 19:49 UTCGHSA enrichment
- 2026-08-11 16:01 UTCEG score recompute
- 2026-08-11 16:01 UTCGHSA enrichment
- 2026-08-11 12:12 UTCGHSA enrichment
- 2026-08-11 08:23 UTCGHSA enrichment
- 2026-08-11 04:35 UTCGHSA enrichment
- 2026-08-11 00:47 UTCEG score recompute
- 2026-08-11 00:47 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 20:58 UTCGHSA enrichment
- 2026-08-10 17:09 UTCGHSA enrichment
- 2026-08-10 13:20 UTCGHSA enrichment
- 2026-08-10 09:31 UTCGHSA enrichment
- 2026-08-10 05:42 UTCGHSA enrichment
- 2026-08-10 01:53 UTCGHSA enrichment
- 2026-08-09 22:05 UTCGHSA enrichment
- 2026-08-09 18:16 UTCGHSA enrichment
- 2026-08-09 14:28 UTCEG score recompute
- 2026-08-09 14:28 UTCGHSA enrichment
- 2026-08-09 13:47 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-68770?
When was CVE-2026-68770 disclosed?
Is CVE-2026-68770 actively exploited?
What is the CVSS score of CVE-2026-68770?
How do I remediate CVE-2026-68770?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-68770
Is Your Infrastructure Affected by CVE-2026-68770?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.