ADVISORIES

PyPA Advisory Database

PYSEC-2026-3761

Details

openssl_encrypt versions before 1.4.0 contain a path traversal vulnerability in the _is_safe_path method where the plugin_id parameter is not sanitized before constructing the plugin config directory path. Attackers can declare a malicious plugin_id containing path traversal sequences like '../' to access arbitrary directories outside the intended plugin directory.

Affected packages

EcosystemPackageAffected versions
PyPIopenssl-encrypt
All versions before 1.4.0 (fixed in 1.4.0)

References