Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local shell access
-
DeliveryMonitor /proc or ps aux for openssl_encrypt processes
-
ExploitObserve --password argument in process listing
-
ExecutionCapture plaintext credential from argv
-
ImpactUse credential to decrypt protected data or access keystore
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires a local user account on the same multi-user system where openssl_encrypt is being invoked with the --password or -p CLI arguments. The specific condition is the use of the --password flag rather than interactive prompting (secure stdin) or a file descriptor. Users who invoke openssl_encrypt without the --password flag - relying on interactive prompting - are not exposed. Single-user systems, properly namespaced container environments (isolated /proc), and deployments that exclusively use the interactive prompt are not affected. Exploitation is bounded by a race condition: the attacker must observe the process while it is running, though for scripted or scheduled invocations this window is predictable. Reading /proc/[pid]/cmdline requires no special privileges on standard Linux configurations - any local user account suffices. |
| Impact | The assigned CVSS 4.0 score of 8.7 with AV:N/PR:N is inconsistent with the actual exploitation model described. Reading /proc/[pid]/cmdline or ps aux requires a local shell account on the same system - not network access - making AV:N a likely miscategorization that inflates perceived severity. Real-world risk is significant only on multi-user Unix environments such as shared HPC clusters, shared hosting, multi-tenant CI/CD runners, or developer workstations with multiple principals. In single-user systems, containerized deployments with a single process namespace, or environments where openssl_encrypt is invoked exclusively with interactive prompting, practical risk is low to negligible. No EPSS data is available in the provided intelligence. No CISA KEV listing exists and no public exploit code has been identified, consistent with a targeted, opportunistic-at-most threat model. The confidentiality impact is genuinely high when triggered - plaintext encryption passwords enable full decryption of protected data - but the narrow local-access prerequisite and niche deployment footprint substantially limit the attack surface. |
| Exploit ScenarioDerived | A low-privileged local user on a shared Linux system repeatedly polls ps aux or scans /proc entries with a simple shell loop while another user runs an automated backup or encryption script that invokes openssl_encrypt with --password. Within the brief window of process execution, the attacker captures the plaintext password verbatim from the argument list. No exploit code or elevated privileges are required - only a local shell account and standard POSIX utilities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Password exposure in openssl_encrypt before version 1.4.0 allows any local system user to capture plaintext encryption and keystore passwords by reading process argument listings. When operators pass credentials via the --password or -p CLI flags, those values appear verbatim in /proc/[pid]/cmdline and ps aux output on Linux/Unix multi-user systems. No public exploit is identified at time of analysis, though exploitation requires only standard POSIX utilities universally available on Linux; the CVSS 4.0 vector's AV:N designation appears miscalibrated - actual attack surface is local, meaningfully limiting real-world risk.
RemediationAI
Upgrade openssl_encrypt to version 1.4.0 via pip install --upgrade openssl-encrypt. The fix, introduced in commit e78a3666e4592f3538adaaa6be8f5f04356174db on the releases/1.4.x branch, adds secure alternatives including --password-file and --password-fd arguments and introduces the OPENSSL_ENCRYPT_PASSWORD environment variable; the legacy --password argument now emits a deprecation warning. If immediate patching is not feasible, use interactive password prompting by omitting the --password flag entirely - the tool will prompt securely via stdin, which does not expose the secret in argv. As a secondary workaround, set CRYPT_PASSWORD as an environment variable; note this is slightly more restricted than argv but still visible via /proc/[pid]/environ to root and to the process owner on some configurations, so it is not a complete mitigation. Do not embed --password values in shell scripts, cron jobs, or CI/CD pipeline definitions. Advisory: https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-h3m5-p59h-x88p.
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 CLI encryption wrapper distributed via pip (package: openssl-encrypt, CPE: cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*). The root cause is CWE-214 (Insertion of Sensitive Information into Externally-Accessible File/Directory). On Linux, process argument arrays (argv) are exposed by the kernel through /proc/[pid]/cmdline, which is world-readable by default, and through tools like ps aux. When a program receives secrets via argv rather than through secure channels (stdin prompts, file descriptors, or restricted environment variables), any co-resident local user can observe them. The vulnerable code is in openssl_encrypt/modules/crypt_cli_subparser.py at lines 150-154, where --password / -p is defined as a standard argparse argument with no masking, deprecation, or secure-input mechanism. The --keystore-password argument is similarly affected. The CRYPT_PASSWORD environment variable alternative is also noted as exposed via /proc/[pid]/environ, though with marginally tighter OS-level access controls than argv.
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:N/VA:N/SC:N/SI:N/SA:N
Exploitation requires local shell access and reading process args via /proc or ps; PR:L for any local account; confidentiality-only impact with no integrity or availability consequence.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 expose passwords passed via the --password CLI argument in process listings accessible to all system users. Attackers can read process arguments through ps aux or /proc/[pid]/cmdline to retrieve plaintext passwords and keystore passwords.
Executive ViewAI
openssl_encrypt versions before 1.4.0 expose encryption passwords and keystore credentials to any local system user through standard system inspection tools. Organizations running vulnerable versions on multi-user systems face insider threat risks: any employee with server access can extract credentials that protect sensitive encrypted data.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-60092
GHSA-jxvv-jp94-p77v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB