Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft file with shell payload in metadata
-
DeliveryDeliver malicious file to victim
-
ExploitVictim runs 'info' command
-
ExecutionReconstructed CLI printed unquoted
-
PersistVictim copies block into shell
-
ImpactPayload executes as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) the attacker to control metadata fields - explicitly pepper_name - inside an openssl_encrypt file that the victim will inspect, and (2) the victim to run the 'info' command AND then copy the printed reconstructed CLI block into a shell. The vulnerability lives specifically in the info command's CLI-reconstruction feature that interpolates metadata without quoting. Limiting factors that reduce realistic risk: exploitation is not autonomous - it hinges on the human action of copy-pasting output into a terminal (contradicting the CVSS UI:N), the attacker must first deliver a malicious file to the victim, and code executes only with the pasting user's privileges. A cautious user who inspects the output before running it neutralizes the attack. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, base 9.3 Critical) overstates real-world exploitability because it encodes UI:N, yet the description makes clear that code only executes when a human copies the printed CLI block into a shell - that is user interaction, and the vector and description conflict on this point; treat the 9.3 as an upper bound. There is no EPSS score provided, the CVE is not in CISA KEV, and no POC is referenced, so this is a high-severity-on-paper issue whose practical exploitation depends on a specific and somewhat unusual user behavior rather than autonomous remote compromise. That said, the impact when triggered is full command execution in the victim's context, so the flaw should still be patched promptly on any host that inspects untrusted encrypted files - the low deployment footprint of the tool, not low technical severity, is the main mitigating factor. |
| Exploit ScenarioDerived | An attacker crafts an openssl_encrypt file whose pepper_name (or similar metadata) contains a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Arbitrary command execution in jahlives' openssl_encrypt before 1.4.9 arises when the tool's 'info' command reconstructs and prints a CLI invocation using untrusted metadata fields (such as pepper_name) without shell-quoting. An attacker who controls the metadata of an encrypted file can embed shell commands that run on the victim's system the moment the printed CLI block is copied and pasted into a terminal. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; risk hinges on the victim copy-pasting attacker-influenced output.
RemediationAI
Vendor-released patch: upgrade to openssl_encrypt 1.4.9 or later, which addresses the unquoted metadata interpolation in the info command; see GHSA-gw2m-mj6q-59hc. Until upgraded, the primary compensating control is behavioral and operational: do not blindly copy-paste the CLI block emitted by 'openssl_encrypt info' into a shell, especially for files obtained from untrusted sources - instead review the printed line for shell metacharacters first, or run 'info' only on files whose provenance you trust (trade-off: reduces convenience and does not protect careless users). Where feasible, run the info command in a sandboxed or non-privileged account so that any pasted command executes with minimal privilege, and avoid piping the tool's output directly into a shell in scripts or automation.
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-based file encryption wrapper distributed via the jahlives GitHub project (CPE cpe:2.3:a:jahlives:openssl_encrypt). The vulnerability is a classic CWE-78 OS Command Injection, but of an indirect 'copy-paste' variety: rather than the program itself invoking a shell with tainted input, the 'info' subcommand renders a human-readable command line that reflects stored metadata values verbatim. Because fields like pepper_name are interpolated into that reconstructed CLI without quoting or escaping, shell metacharacters (backticks, $(), ;, |, &&) survive into the text a user is expected to run. The trust boundary crossed is the file's metadata, which is attacker-controllable whenever a user inspects a file received from an untrusted source.
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
Code runs only when the victim copies the tool's local output into a shell, so UI:R and AV:L; result is full command execution as the user, giving high C/I/A with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.9 contain a shell injection vulnerability in the info command's reconstructed CLI block that interpolates untrusted metadata fields without quoting. Attackers can craft metadata values like pepper_name containing shell commands that execute when users copy the printed CLI block into a shell.
Executive ViewAI
openssl_encrypt (versions before 1.4.9) exposes organizations to command execution risk through social engineering that requires users to copy-paste attacker-influenced output from the info command. No public exploit identified at time of analysis, but the absence of a security patch leaves systems vulnerable if users interact with malicious encrypted files. Immediate mitigation is required to prevent system compromise.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restricting or disabling the info command; (2) sanitizing untrusted metadata fields (pepper_name, etc.) before display to remove shell metacharacters; (3) limiting openssl_encrypt access through principle of least privilege; (4) user awareness training on avoiding copy-paste from untrusted tools; (5) monitoring for suspicious encrypted files with unusual metadata patterns.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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
Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim
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
EUVD-2026-67054
GHSA-rcx3-xx7j-m3r9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB