CVE-2026-74890: openssl_encrypt before 1.4.0 HMAC Authentication Bypass via Environment Variable

Published Aug 17, 2026
·
Updated

opensslencrypt versions before 1.4.0 contain an authentication bypass vulnerability in CamelliaCipher that disables HMAC tag generation and verification when the PYTESTCURRENTTEST 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 Software

1 affected component
OpenSSL OpenSSL<1.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade openssl_encrypt to a version that resolves this vulnerability.

    Fixed in 1.4.0
  2. Configuration

    Ensure the environment variable PYTEST_CURRENT_TEST is not set; specifically, in vulnerable openssl_encrypt versions before 1.4.0, setting PYTEST_CURRENT_TEST disables HMAC tag generation and verification in CamelliaCipher.

    OpenSSL CamelliaCipher (via PHP openssl_encrypt) PYTEST_CURRENT_TEST = unset/empty

Event History

Aug 17, 2026
CVE Published
via MITRE·11:04 AM
Data Sourced
via MITRE·11:04 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74890?

CVE-2026-74890 has a medium severity score of 5.5.

2

How do I fix CVE-2026-74890?

To fix CVE-2026-74890, upgrade to OpenSSL version 1.4.0 or later.

3

What version of OpenSSL is affected by CVE-2026-74890?

CVE-2026-74890 affects OpenSSL versions before 1.4.0.

4

What type of vulnerability is CVE-2026-74890?

CVE-2026-74890 is an authentication bypass vulnerability.

5

What environment variable is associated with CVE-2026-74890?

CVE-2026-74890 is associated with the PYTEST_CURRENT_TEST environment variable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203