VDB
Sign up

PYSEC-2026-3760

Quick fix

PYSEC-2026-3760 — openssl-encrypt: upgrade to the fixed version with the command below.

pip install --upgrade 'openssl-encrypt>=1.4.0'

Details

openssl_encrypt versions before 1.4.0 contain a sandbox bypass vulnerability where the plugin sandbox fails to restrict alternative file access methods like pathlib.Path and io.open. Attackers can import pathlib or io modules to read and write arbitrary files, completely bypassing the restricted_open file access controls.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/openssl-encrypt
Introduced in: 0Fixed in: 1.4.0
Fixpip install --upgrade 'openssl-encrypt>=1.4.0'

References