Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim first-factor password
-
DeliveryReach TOTP verification endpoint
-
ExploitDistribute guesses across workers/instances
-
ExecutionReset counters via restart timing
-
PersistBrute-force valid TOTP code
-
ImpactComplete 2FA and hijack account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a deployment where the openssl_encrypt server enforces TOTP second-factor authentication AND is either run with multiple workers/instances (Gunicorn/uwsgi multi-worker or load-balanced replicas) so per-process counters can be split, or is subject to periodic restarts that reset the in-memory lockout state - either condition alone enables the bypass. Practical account takeover is further gated by the attacker needing to guess a valid time-limited 6-digit TOTP (large attempt volume within each code's validity window) and, in typical 2FA flows, already possessing the user's first-factor credentials; a single-worker, never-restarted instance materially limits the distributed-bypass path though not the restart-reset path. |
| Impact | The vendor CVSS 4.0 score of 9.3 (AV:N/AC:L/PR:N/UI:N, VC/VI/VA:H) treats this as critical, but that rating appears to assume the rate-limiter bypass directly yields full account compromise; in practice the flaw removes a defense-in-depth control rather than granting code execution, and turning it into account takeover still requires successfully brute-forcing a 6-digit TOTP (and typically already possessing the first-factor password), which raises real-world attack complexity above what AC:L implies. No EPSS score, KEV entry, or POC was provided, so exploitation-likelihood signals are weak-to-absent; the 'Denial Of Service' tag also seems mislabeled, as the true impact is authentication brute-force / 2FA bypass, not service disruption. That said, the bypass primitive itself is trivial (spread attempts across workers, or wait for a restart), so any operator - even a mid-sized municipal IT team in kalisz - running openssl_encrypt with real MFA enforcement should patch promptly rather than rely on the ineffective throttle. Net: a genuine security-control weakness worth prioritizing where the product is used for MFA, but the headline 9.3 likely overstates practical severity given the brute-force effort and probable first-factor prerequisite. |
| Exploit ScenarioDerived | An attacker who already holds a victim's password targets the TOTP step and fans guesses across several backend workers (or many horizontally scaled instances) so that no single process's counter reaches the lockout threshold, and/or triggers/waits for a worker restart to wipe accumulated attempts, iterating until a valid 6-digit code lands and 2FA is defeated. No public exploit code was identified, but the bypass technique is straightforward given the described architecture and would only require scripting concurrent authentication attempts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate limiter is held in per-process in-memory state (a class-level defaultdict) rather than shared storage. In multi-worker or multi-instance deployments each worker enforces its own independent counters, and all lockout state evaporates on restart, so an attacker can parallelize or restart-reset their way through TOTP guesses. No public exploit is identified at time of analysis, and it is not listed in CISA KEV; a vendor patch exists in 1.4.0.
RemediationAI
Vendor-released patch: upgrade openssl-encrypt to 1.4.0, which was fixed in commit 2749bc0 on branch releases/1.4.x by introducing an abstract RateLimitBackend with InMemoryBackend and DatabaseBackend implementations and defaulting to DatabaseBackend when a database is available (https://github.com/jahlives/openssl_encrypt/commit/2749bc0949b34a5921a35fb4a3f1856fc51916de). If you cannot upgrade immediately, the effective compensating controls follow the vendor's own recommendation: back the rate limiter with shared, persistent storage such as Redis or the database, or use a shared-memory backend so counters and lockouts are coordinated across workers and survive restarts. As a stopgap you can run the server as a single worker/instance (removes cross-worker distribution but sacrifices scalability and throughput) and add an external throttle at the reverse proxy or WAF keyed on source IP and account (which mitigates naive brute force but not distributed/rotating-source attempts and can cause false lockouts). Review the advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-h45m-mgcp-q388 for the authoritative fix guidance.
Affected VersionsENISA
Affected Packages
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 Python encryption tool/library (pip package openssl-encrypt) whose server component implements TOTP-based second-factor authentication in openssl_encrypt_server/modules/pepper/totp.py. The vulnerable design stores brute-force accounting - attempts (defaultdict(list)) and lockouts (dict) - as a class variable inside TOTPRateLimiter, instantiated once per Python process as TOTPService._rate_limiter. This maps to CWE-770 (Allocation of Resources Without Limits or Throttling): the throttle exists but its scope is a single process's heap, so it fails to bound attempts globally. Under common production topologies (Gunicorn/uwsgi multi-worker, or horizontally scaled instances behind a load balancer) counters are not coordinated, and because the state is non-persistent it is also reset by any process restart.
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
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
Bypass is network-reachable with no auth (PR:N), but achieving takeover requires distributing/timing attempts plus TOTP brute-force success (AC:H); impact is account compromise (C:H/I:H), not availability (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 use an in-memory rate limiter for TOTP brute-force protection that is not shared across workers and is lost on server restart. Attackers can distribute authentication attempts across multiple server instances or retry immediately after a restart to bypass rate limiting protections.
Executive ViewAI
jahlives openssl_encrypt versions before 1.4.0 have a critical flaw in two-factor authentication when used in distributed multi-worker deployments, allowing attackers to bypass MFA protections by systematically guessing authentication codes. This directly exposes all users relying on 2FA to account compromise risk, affecting any organization running this library in production. A vendor patch (version 1.4.0) is available and must be deployed to restore MFA security.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Openssl Encrypt
View allArbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i
Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit
Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin
Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou
Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a
Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be
Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup
Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den
Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from
Arbitrary command execution in jahlives' openssl_encrypt before 1.4.9 arises when the tool's 'info' command reconstructs
EUVD-2026-60097
GHSA-crfx-7r98-6r44
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB