{"id":"CVE-2026-74870","summary":"openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure","details":"openssl_encrypt (pip) versions \u003c= 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.","aliases":["GHSA-p9g8-wvh4-2jmx"],"modified":"2026-08-19T03:31:17.968169647Z","published":"2026-08-17T11:04:40.202Z","database_specific":{"cwe_ids":["CWE-532"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74870.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74870.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74870"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jahlives/openssl_encrypt","events":[{"introduced":"0"},{"fixed":"e85a7f34e6b7b0863b1d49d33fac23a223307aae"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.4.8"}]}}],"versions":["v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.2","v1.4.1rc2","v1.4.1rc1","v1.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74870.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}