sentence-transformers is vulnerable to Remote Code Execution (RCE)
83
High Risk
Affected versions of the package are vulnerable to Remote Code Execution (RCE) when loading PyTorch model files. The torch.load() function, when used without the weights_only=True parameter, can deserialize malicious Python objects from manipulated model files, potentially allowing an attacker to execute arbitrary code.
You are affected if you are using a version that falls within the vulnerable range.
sentence-transformers is vulnerable to Remote Code Execution (RCE) in versions 0.0.1 - 3.0.1.
Upgrade the sentence-transformers library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant