CVEBrief

Home / Hugging Face / sentence-transformers / CVE-2026-68770

CVE-2026-68770: is it exploited, and which versions of Hugging Face sentence-transformers are affected and fixed?

CVE-2026-68770 is a code injection (remote code execution) vulnerability in Hugging Face sentence-transformers. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: sentence-transformers before 5.6.0 (GitHub advisory GHSA-jhr6-gm9c-rqjv). Fixed in 5.6.0 (GitHub advisory GHSA-jhr6-gm9c-rqjv). Severity: Critical (9.3, CVSS 4.0, from VulnCheck).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
sentence-transformers before 5.6.0
GitHub advisory GHSA-jhr6-gm9c-rqjv
Fixed in
5.6.0
GitHub advisory GHSA-jhr6-gm9c-rqjv
Severity
Critical 9.3
CVSS 4.0 from VulnCheck
Exploit odds (EPSS)
0.65% in 30 days
higher than 52% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-68770?

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

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.

From the CVE record by VulnCheck, last updated November 8, 2026, 14:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Hugging Facesentence-transformersthrough 5.5.1

As the CVE record by VulnCheck states it, last updated November 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIsentence-transformers< 5.6.05.6.0GHSA-jhr6-gm9c-rqjv

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 30, 2026. Summary: sentence-transformers local model loading bypasses trust_remote_code and executes custom Python.

How severe is CVE-2026-68770?

ScoreVersionVectorSource
Critical 9.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-68770 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, August 3, 2026)
EPSS
0.65% probability of exploitation activity in the next 30 days, percentile 52.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
July 31, 2026
Published
July 31, 2026, 20:56 UTC
CVE record updated
November 8, 2026, 14:08 UTC by VulnCheck
NVD
Deferred, last modified October 23, 2026, 23:10 UTC
Last checked
CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2026-68770

Is CVE-2026-68770 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Hugging Face sentence-transformers are affected by CVE-2026-68770?

sentence-transformers before 5.6.0, per the GitHub advisory GHSA-jhr6-gm9c-rqjv. The tables above give every range the sources list.

Which version fixes CVE-2026-68770?

5.6.0, per the GitHub advisory GHSA-jhr6-gm9c-rqjv. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-68770?

Critical (9.3, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.

Where is the official record of CVE-2026-68770?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.