Description
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.
Published: 2026-08-17
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in openssl_encrypt, a Python package, where diagnostic commands that were meant for hardware pepper testing – specifically 'hsm fido2-test' and 'hsm onlykey-test' – automatically print the full derived hardware pepper as a hexadecimal string to standard output and standard error. The displayed value can be captured in terminal scrollback, session recordings, or continuous‑integration logs. Because the pepper is derived from a randomly generated per‑invocation salt and is salt‑bound, an attacker who learns its value cannot use it to decrypt actual data; thus the impact is limited to the disclosure of internal testing information.

Affected Systems

Affected by the jahlives openssl_encrypt package. All releases up to and including version 1.4.7 are vulnerable. The fix was applied in release 1.4.8 and later, including 1.5.0. No other vendors or product lines were identified in the CNA data.

Risk and Exploitability

The CVSS score of 8.7 classifies the issue as high severity. Although the EPSS score is not available, the exploit is plausible because the vulnerable commands are part of the published code base and can be executed by anyone who has access to the application, whether locally or through an automated workflow. The vulnerability is not listed in the CISA KEV catalog, suggesting no widespread active exploitation is reported. Nonetheless, the automated printing of cryptographic material to logs represents a non‑negligible risk in regulated or sensitive environments, where log retention policies could allow a third party to see the pepper value.

Generated by OpenCVE AI on August 17, 2026 at 12:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to openssl_encrypt version 1.4.8 or newer.
  • Avoid executing the 'hsm fido2-test' or 'hsm onlykey-test' diagnostic commands in production or CI environments.
  • Configure log handling so that any output from diagnostic processes is removed or sanitized before storage or transmission.

Generated by OpenCVE AI on August 17, 2026 at 12:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt

Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T15:15:43.332Z

Reserved: 2026-08-17T10:31:04.593Z

Link: CVE-2026-74870

cve-icon Vulnrichment

Updated: 2026-08-17T15:15:39.610Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-17T11:16:41.293

Modified: 2026-09-03T16:07:10.300

Link: CVE-2026-74870

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:41:13Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File