CVE-2026-74890
JSON

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 packageVersionsReported by
jahlives openssl_encryptbefore 1.4.0
Not affected: 1.4.0
CVE List, NVD
openssl-encrypt (PyPI)before 1.4.0PyPA Advisory Database

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-345

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

Sources

SourceRecordLicence
CVE ListCVE-2026-74890 changed 2026-10-01CVE Terms of Use
NVDCVE-2026-74890 changed 2026-10-24Public domain
PyPA Advisory DatabasePYSEC-2026-3766 changed 2026-09-02CC-BY-4.0