sentence-transformers: known vulnerabilities and the safe version
The version to be on
Version 5.6.0 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade sentence-transformers with pip
pip install --upgrade "sentence-transformers>=5.6.0"
pip show sentence-transformers | grep VersionPin it in requirements.txt
sentence-transformers>=5.6.0Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch sentence-transformers
Get an email only when sentence-transformers has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in sentence-transformers and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/sentence-transformers/)All records
- sentence-transformers local model loading bypasses trust_remote_code and executes custom PythonUnknown · CVE-2026-68770 · fixed in 5.6.0 · 1 Aug 2026