PyPI
CVE-2026-74870
openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data
- Severity
- Low
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 1.4.8
- Also known as
- GHSA-p9g8-wvh4-2jmx, PYSEC-2026-3956
- Sources
- OSV.dev and GitHub
Description
The 'openssl-encrypt hsm fido2-test' and 'hsm onlykey-test' diagnostic commands unconditionally print the full derived hardware pepper as hex to the terminal (openssl_encrypt/modules/crypt_cli.py, handle_hsm_command). An earlier fix for this finding (H1 [HSM-1], 2026-07-07) landed in modules/hsm_cli.py, which is not wired into the CLI entry point, so the reachable code path kept printing the pepper.
Impact is limited: the pepper is derived from a random per-invocation test salt, so the printed value cannot be used to decrypt any real file (peppers are salt-bound). It is nevertheless hardware-derived key material written to stdout/stderr, where it can end up in terminal scrollback, session recordings, or CI logs.
Also covered by the fix: the asymmetric_core main self-test printed a random throwaway test password on roundtrip failure, and the fido2_pepper plugin logged raw prf_data at debug level outside the secret-redaction chokepoint.
Affected software
| Software | Affected versions |
|---|---|
openssl-encryptPyPI · osv:PyPI:openssl-encrypt |
|
About openssl-encrypt
- Weekly downloads (PyPI)
- 280PyPI Stats, 3 Dec 2026
Vulnerabilities in openssl-encrypt
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-74871openssl-encrypt sequential XOR cancels the last key-derivation stageMedium 6.2 3 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-74870
- GitHub Advisory Database https://github.com/advisories/GHSA-p9g8-wvh4-2jmx