Skip to main content

openssl_encrypt EUVDEUVD-2026-60089

| CVE-2026-74870 HIGH
Insertion of Sensitive Information into Log File (CWE-532)
2026-08-17 VulnCheck GHSA-q9f6-q6m5-f5h2
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Run hsm fido2-test or onlykey-test diagnostic command
  2. Delivery
    Derived pepper printed as hex to stdout/stderr
  3. Exploit
    CI pipeline or session recorder captures output
  4. Execution
    Attacker gains read access to log storage
  5. Persist
    Extract hex pepper value from logs
  6. Impact
    Correlation 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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

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

openssl_encrypt 0 <1.4.8

Affected Packages

pypi openssl-encrypt fix: 1.4.7, 1.4.8

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 3.3 LOW

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/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
None
Vulnerable system: Availability
None
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
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche pip package for HSM-integrated file encryption
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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