Description
openssl_encrypt versions before 1.4.0 contain a plugin sandbox bypass vulnerability where the PluginImportGuard blocks a different set of modules than the AST analyzer's DANGEROUS_MODULES set. Attackers can bypass AST analysis through string obfuscation or encoding to import unblocked dangerous modules like sys, shutil, multiprocessing, importlib, and pickle for arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jahlives | openssl_encrypt | < 1.4.0 | 1.4.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | openssl-encrypt | < 1.4.0 | 1.4.0 | PYSEC-2026-3763 |
References
- GitHub Security Advisory (GHSA-9pgj-v69p-q586) vendor-advisory
- VulnCheck Advisory: openssl_encrypt before 1.4.0 Plugin Import Guard Bypass third-party-advisory