openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data
CVE-2026-74870
The 'openssl-encrypt hsm fido2-test' and 'hsm onlykey-test' diagnostic commands unconditionally print the full derived hardware pepper as hex to the terminal (opensslencrypt/modules/cryptcli.py, handlehsmcommand). An earlier fix for this finding (H1 [HSM-1], 2026-07-07) landed in modules/hsmcli.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 asymmetriccore main self-test printed a random throwaway test password on roundtrip failure, and the fido2pepper plugin logged raw prfdata at debug level outside the secret-redaction chokepoint. Fixed in 1.4.8 by removing the hex dumps (length and success status are still reported) and routing plugin debug output through the redaction layer. Commit d69ecf25 (feature/hsm-test-pepper-leak-14x) — live pepper hex dumps removed from cryptcli.py…
Assessment
- CVSS
- 2.4 (v4.0)
- Severity
- Low
- EPSS
- 0.00188% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Affected
- openssl-encrypt
- Weakness
- CWE-532
CVSS vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx
- https://github.com/jahlives/openssl_encrypt/commit/d69ecf25b7e8c8c585f4ae9cc11405b1eefc740e
- https://github.com/jahlives/openssl_encrypt/releases/tag/v1.4.8
- https://github.com/pypa/advisory-database/blob/main/vulns/openssl-encrypt/PYSEC-2026-3956.yaml
- https://nvd.nist.gov/vuln/detail/cve-2026-74870
- https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure
- https://github.com/advisories/GHSA-p9g8-wvh4-2jmx
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-74870