8.7high
openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- PYSEC-2026-3956GHSA-p9g8-wvh4-2jmx
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jahlives openssl_encrypt | before 1.4.8, before 1.4.7 Not affected: 1.4.8 | CVE List, NVD |
| openssl-encrypt (PyPI) | before 1.4.7 | PyPA Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx | advisory, vendor-advisory | |
| https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure | advisory, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74870 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-74870 changed 2026-09-03 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3956 changed 2026-09-10 | CC-BY-4.0 |