{"id":"CVE-2026-74870","title":"openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure","summary":"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 (c…","severity":"low","cvss":3.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","cvssSource":"cna","cwe":["CWE-532"],"vendor":"jahlives","product":"openssl_encrypt","affected":["openssl_encrypt < 1.4.8"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-17T15:15:31.287036Z"},"published":"2026-08-17","updated":"2026-10-01","sourceUpdated":"2026-10-01T15:20:47.578Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74870","references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx","label":"GitHub Security Advisory (GHSA-p9g8-wvh4-2jmx)"},{"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure","label":"VulnCheck Advisory: openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure"}],"tags":["cve.org","osv","pip"],"epss":0.00261,"epssPercentile":0.17755,"aliases":["PYSEC-2026-3956","GHSA-p9g8-wvh4-2jmx"],"ecosystem":"pip","patched":["openssl-encrypt 1.4.7"],"ingestedAt":"2026-09-12T03:13:01.743Z","slug":"CVE-2026-74870","body":"## Overview\n\nopenssl_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.\n\n## Affected\n\n- `openssl_encrypt < 1.4.8`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-74870)\n\nAffected packages:\n\n- `openssl-encrypt < 1.4.7`\n\nPatched in:\n\n- `openssl-encrypt 1.4.7`\n\nSource: https://osv.dev/vulnerability/PYSEC-2026-3956","depth":"sunlit","depthScore":18,"depthScoreParts":{"impact":18.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":214486,"id":"CVE-2026-74870","ts":1790869830675,"field":"cvss","old":null,"new":"3.3"},{"seq":214485,"id":"CVE-2026-74870","ts":1790869830675,"field":"severity","old":"none","new":"low"}]}