Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun hsm fido2-test or onlykey-test diagnostic command
-
DeliveryDerived pepper printed as hex to stdout/stderr
-
ExploitCI pipeline or session recorder captures output
-
ExecutionAttacker gains read access to log storage
-
PersistExtract hex pepper value from logs
-
ImpactCorrelation with production encryption keys is not possible
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires that a user or automated process explicitly invoke one of two specific CLI diagnostic subcommands - 'hsm fido2-test' or 'hsm onlykey-test' - implemented in crypt_cli.py via handle_hsm_command on a host with openssl_encrypt <= 1.4.7 installed. Exposure is limited to environments where stdout/stderr output from those commands is captured and accessible to unauthorized parties, such as CI/CD build log archives, terminal session recordings, or shared shell history stores. There is no remote triggering path: the commands must be deliberately executed by an authorized operator or automation. The leaked pepper is derived from a random per-invocation test salt and is cryptographically useless for decrypting production files, substantially restricting the practical value of any obtained material. The secondary prf_data plugin issue shares the same logging-context precondition. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) characterizes this as a remotely exploitable, unauthenticated, high-confidentiality-impact vulnerability, which conflicts materially with the description: triggering the exposure requires a local operator to explicitly invoke specific CLI diagnostic subcommands, suggesting the network attack vector and PR:N rating are overstated relative to the true exploitation model. The VC:H rating also overstates impact, since the description explicitly confirms the leaked pepper value is derived from a random per-invocation test salt and cannot decrypt real production files. No EPSS score was provided in the input data, leaving exploitation probability unquantified from that source. The vulnerability is absent from the CISA KEV catalog, confirming no observed active exploitation. The realistic threat model involves an attacker passively reading CI/CD build logs or session recordings where the diagnostic commands were executed - even a mid-sized municipal IT team in sopot running automated HSM enrollment pipelines could unknowingly archive these diagnostics in long-lived log storage. No public exploit code has been identified. Overall, this is a medium-priority hygiene issue - the high CVSS numeric score is misleading and should not drive emergency remediation prioritization. |
| Exploit ScenarioDerived | An attacker with read access to archived CI/CD build logs or terminal session recordings from a system running openssl_encrypt <= 1.4.7 searches the output for hex strings printed by the 'hsm fido2-test' or 'hsm onlykey-test' commands. The attacker extracts the printed pepper value, but is unable to leverage it to decrypt any real files because the value is derived from a random per-invocation test salt with no relationship to production encryption material. No public exploit code exists for this vulnerability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
openssl_encrypt (pip, versions <= 1.4.7) unconditionally prints a derived hardware pepper as a hex string to stdout/stderr when the 'hsm fido2-test' or 'hsm onlykey-test' diagnostic commands are invoked, with output potentially persisting in CI build logs, terminal scrollback buffers, or session recordings. A secondary exposure exists where a related plugin component logged raw prf_data values outside the library's secret-redaction pathway. No public exploit has been identified and no CISA KEV listing exists; critically, the vendor description explicitly states the leaked pepper is derived from a random per-invocation test salt and is salt-bound, meaning it cannot be used to decrypt real files, substantially constraining actual impact despite the elevated CVSS 4.0 score of 8.7.
RemediationAI
Upgrade openssl_encrypt to version 1.4.8 or 1.5.0 via pip: pip install "openssl_encrypt>=1.4.8". The vendor-released patch removes the unconditional hex dump of derived pepper values from HSM diagnostic output paths and routes plugin debug output through the library's existing secret-redaction layer, as described in the advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx. If immediate upgrade is not feasible, avoid executing the 'hsm fido2-test' and 'hsm onlykey-test' diagnostic subcommands in any environment where stdout/stderr is captured and retained - such as CI/CD pipelines with log archiving, recorded terminal sessions, or shared shell environments. If these diagnostics must run in such contexts, implement post-execution log scrubbing to remove hex output before log storage or distribution. Note that the leaked value cannot decrypt real files, so the compensating control primarily addresses compliance and information hygiene rather than immediate cryptographic exposure.
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
The affected library (CPE: cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*) is a Python pip package by jahlives that provides file encryption with hardware security module integration, supporting FIDO2 and OnlyKey devices. The root cause is CWE-532 (Insertion of Sensitive Information into Log File or Output Stream): the handle_hsm_command function in crypt_cli.py unconditionally formats and emits a derived hardware pepper as a hex string to stdout/stderr during HSM self-test execution. The pepper is produced by a key derivation step operating on a randomly generated per-invocation test salt, making the exposed material cryptographically ephemeral and isolated from production encryption keys. A secondary issue involves a plugin component writing raw prf_data values through a code path that bypasses the library's established secret-redaction layer, compounding the output exposure surface. Both issues were resolved in version 1.4.8 by removing the hex dump statements and routing plugin debug output through the redaction pipeline.
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
Triggering the exposure requires local CLI invocation by an operator; leaked pepper is test-ephemeral and cannot decrypt production files, warranting C:L not C:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt (pip) versions <= 1.4.7 contain an information exposure vulnerability where the 'hsm fido2-test' and 'hsm onlykey-test' diagnostic commands unconditionally print the full derived hardware pepper as hex to stdout/stderr (crypt_cli.py, handle_hsm_command). The printed value can persist in terminal scrollback, session recordings, or CI logs. Impact is limited because the pepper is derived from a random per-invocation test salt and is salt-bound, so the leaked value cannot be used to decrypt real files. A related plugin issue logged raw prf_data outside the secret-redaction path. Fixed in 1.4.8 (and 1.5.0) by removing the hex dumps and routing plugin debug output through the redaction layer.
Executive ViewAI
openssl_encrypt (pip) versions 1.4.7 and earlier expose cryptographic key material (hardware pepper values) to stdout/stderr when diagnostic commands are invoked, risking credential exposure in CI build logs, terminal scrollback buffers, and session recordings across development environments. While the leaked material derives from per-invocation test salts and cannot be used to decrypt production data, the exposure creates compliance and operational security risks. Immediate patch deployment and log remediation are required.
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-60089
GHSA-q9f6-q6m5-f5h2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB