9.3critical
openssl_encrypt before 1.4.0 HMAC Authentication Bypass via Environment Variable
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- PYSEC-2026-3766GHSA-rvc2-5jxq-gpcj
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jahlives openssl_encrypt | before 1.4.0 Not affected: 1.4.0 | CVE List, NVD |
| openssl-encrypt (PyPI) | before 1.4.0 | PyPA Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones de openssl_encrypt anteriores a 1.4.0 contienen una vulnerabilidad de omisión de autenticación en CamelliaCipher que deshabilita la generación y verificación de etiquetas HMAC cuando la variable de entorno PYTEST_CURRENT_TEST está configurada. Atacantes con ejecución de código pueden configurar esta variable de entorno para producir texto cifrado no autenticado y omitir la protección de integridad en los datos cifrados.
References
| https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-rvc2-5jxq-gpcj | advisory, mitigation, vendor-advisory | |
| https://www.vulncheck.com/advisories/openssl-encrypt-before-hmac-authentication-bypass-via-environment-variable | advisory, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74890 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-74890 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3766 changed 2026-09-02 | CC-BY-4.0 |