Skip to main content

openssl_encrypt EUVDEUVD-2026-60109

| CVE-2026-74890 CRITICAL
Insufficient Verification of Data Authenticity (CWE-345)
2026-08-17 VulnCheck GHSA-8p4p-w6mq-4grq
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain code execution on host
  2. Delivery
    Set PYTEST_CURRENT_TEST env var
  3. Exploit
    CamelliaCipher skips HMAC generation and verification
  4. Execution
    Produce or accept unauthenticated ciphertext
  5. Impact
    Tamper with encrypted data undetected

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
Exploitation Conditions

Requires two concrete conditions: (1) the application must use the CamelliaCipher code path of openssl_encrypt at a version below 1.4.0, and (2) the attacker must be able to set the PYTEST_CURRENT_TEST environment variable in the target process's environment, which presupposes pre-existing code execution or control of the process launch/environment. The strongest limiting factor is that this is not a remote drive-by: despite the CVSS AV:N/PR:N vector, the description makes clear the attacker already needs code execution, so an unprivileged remote actor with no foothold cannot trigger it. Impact is confined to loss of integrity/authenticity of encrypted data, not confidentiality of the plaintext.

Impact

The published CVSS 4.0 base score is 9.3 (Critical) with vector AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H, but that scoring conflicts with the description: exploitation explicitly requires an attacker who already has code execution or the ability to set an environment variable in the target process, which is not a remote, unauthenticated, network-reachable condition - this discrepancy should be verified against the vendor advisory rather than taken at face value. In practical terms this is a defense-in-depth / integrity-assurance weakness rather than an initial-access vulnerability: an actor who can already set PYTEST_CURRENT_TEST typically already controls the execution context. No EPSS score, SSVC decision, or POC was provided in the intelligence set, and the CVE is not in CISA KEV, so there is no signal of active or automatable exploitation. That said, because the failure silently voids tamper-detection on encrypted data, any team relying on this library for at-rest or in-transit integrity should treat patching as urgent and not be reassured by the 'requires code execution' framing, since the real damage is that data corruption or forgery goes undetected. Net assessment: high-CVSS on paper, but real-world priority is moderate and hinges on whether the library is used for integrity-critical data.

Exploit ScenarioDerived

An attacker who gains code execution or environment control on a host running an application built on openssl_encrypt sets PYTEST_CURRENT_TEST in the process environment; the CamelliaCipher path then encrypts without an HMAC tag and decrypts without verification. The attacker can subsequently forge or tamper with encrypted records and have them accepted as authentic, defeating the integrity guarantee. No public POC was identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Integrity-protection bypass in the jahlives openssl_encrypt Python library (all versions before 1.4.0) lets an attacker who can influence the process environment silently disable HMAC authentication in the CamelliaCipher code path. When the PYTEST_CURRENT_TEST environment variable is present, the library skips generating and verifying HMAC tags, so ciphertext is produced and accepted without integrity protection, enabling undetected tampering of encrypted data. Reported by VulnCheck with a vendor patch available; no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Primary fix: upgrade openssl_encrypt to version 1.4.0 or later, which is the vendor-released patched version per GHSA-rvc2-5jxq-gpcj. Until you can upgrade, the concrete compensating control is to ensure the PYTEST_CURRENT_TEST environment variable is never set in production runtime environments - audit process managers, container images, CI/CD promotion paths, and service unit files to confirm test variables are stripped before deployment (side effect: minimal, since this variable has no legitimate production purpose). As additional hardening, avoid running application processes in the same environment as test tooling and enforce integrity of encrypted data with an external MAC/signature layer you control, rather than trusting the library's internal HMAC, until 1.4.0 is deployed. Review advisory details at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-rvc2-5jxq-gpcj and https://www.vulncheck.com/advisories/openssl-encrypt-before-hmac-authentication-bypass-via-environment-variable.

Affected VersionsENISA

openssl_encrypt 0 <1.4.0

Affected Packages

pypi openssl-encrypt fix: 1.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

openssl_encrypt is a small open-source Python encryption library (CPE cpe:2.3:a:jahlives:openssl_encrypt) that wraps symmetric ciphers with HMAC-based authenticated encryption. The flaw is classic CWE-345 (Insufficient Verification of Data Authenticity): a test-only guard keyed on the PYTEST_CURRENT_TEST environment variable - normally set automatically by the pytest framework during test runs - leaks into production behavior. In the CamelliaCipher implementation, presence of that variable short-circuits both HMAC tag generation on encryption and HMAC verification on decryption, degrading authenticated encryption to unauthenticated encryption. The confidentiality of the underlying Camellia encryption is unchanged; what is lost is the integrity/authenticity guarantee that would otherwise detect ciphertext modification.

Know when Openssl Encrypt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 4.4 MEDIUM

Exploitation requires pre-existing code execution to set a process environment variable, so AV:L and PR:H; only integrity of encrypted data is lost, so C:N/I:H/A:N.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 12:01 EUVD
CVE Published
Aug 17, 2026 - 11:04 cve.org
CRITICAL 9.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The jahlives openssl_encrypt Python library (all versions before 1.4.0) contains a critical integrity-protection bypass (CVSS 9.3) that silently disables HMAC authentication when the PYTEST_CURRENT_TEST environment variable is set, enabling undetected tampering of encrypted data. Organizations relying on this library for data encryption face exposure to data corruption and manipulation without detection, directly undermining the integrity protections that secure communications depend upon.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Rare
niche single-author open-source Python encryption library, minimal enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-74872 CRITICAL
9.3 Aug 17

Arbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i

CVE-2026-81707 CRITICAL
9.3 Aug 27

Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in

CVE-2026-74895 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit

CVE-2026-74886 CRITICAL
9.3 Aug 17

Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin

CVE-2026-74894 CRITICAL
9.3 Aug 17

Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at

CVE-2026-74878 CRITICAL
9.3 Aug 17

Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim

CVE-2026-74899 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou

CVE-2026-74900 CRITICAL
9.3 Aug 17

Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a

CVE-2026-74896 CRITICAL
9.3 Aug 17

Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be

CVE-2026-81719 CRITICAL
9.3 Aug 27

Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup

CVE-2026-81701 CRITICAL
9.3 Aug 27

Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den

CVE-2026-74880 CRITICAL
9.3 Aug 17

Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy