Medium · published August 17, 2026
openssl_encrypt versions before 1.4.0 contain an authentication bypass vulnerability in CamelliaCipher that disables HMAC tag generation and verification when the PYTEST_CURRENT_TEST environment variable is set. Attackers with code execution can set this environment variable to produce unauthenticated ciphertext and bypass integrity protection on encrypted data.
| Product | Versions | Fixed in |
|---|---|---|
| jahlives/openssl_encrypt | < 1.4.0 | 1.4.0 |