CVE-2026-74870
HIGH 8.7CVSS 4.0openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data
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
- 17 Aug 2026
- Last modified
- 3 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-532
- Also known as
- GHSA-p9g8-wvh4-2jmxPYSEC-2026-3956
- Sources
- NVDJSONOSV GHSA-p9g8-wvh4-2jmxJSONOSV PYSEC-2026-3956JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jahlives | openssl_encryptcpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:* |
< 1.4.7 | 1.4.7 |
| OSV | PyPI | openssl-encrypt | < 1.4.8 | 1.4.8 |
| OSV | PyPI | openssl-encrypt | < 1.4.7 | 1.4.7 |
References
- https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx · Vendor Advisory, WEB, ADVISORY
- https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure · Third Party Advisory, WEB, ADVISORY
- https://github.com/jahlives/openssl_encrypt/commit/d69ecf25b7e8c8c585f4ae9cc11405b1eefc740e · WEB
- https://github.com/jahlives/openssl_encrypt · PACKAGE
- https://github.com/jahlives/openssl_encrypt/releases/tag/v1.4.8 · WEB
- https://github.com/pypa/advisory-database/blob/main/vulns/openssl-encrypt/PYSEC-2026-3956.yaml · WEB
- https://nvd.nist.gov/vuln/detail/cve-2026-74870 · ADVISORY
History
- 3 Dec 2026 23:56 UTC · OSV: first stored (published 3 Dec 2026)
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Aug 2026)