# CVE-2026-74870: openssl_encrypt before 1.4.8 Hardware Pepper Information Disclosure

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-17T11:04:40.202Z
- Modified: 2026-10-01T15:20:47.578Z
- Also known as: PYSEC-2026-3956, GHSA-p9g8-wvh4-2jmx
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- jahlives openssl_encrypt: before 1.4.8; before 1.4.7 (not affected: 1.4.8)
- openssl-encrypt (PyPI): before 1.4.7

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p9g8-wvh4-2jmx> (advisory, vendor-advisory)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-hardware-pepper-information-disclosure> (advisory, third-party-advisory)

## Sources

- CVE List: [CVE-2026-74870](https://www.cve.org/CVERecord?id=CVE-2026-74870), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-74870](https://nvd.nist.gov/vuln/detail/CVE-2026-74870), Public domain, modified 2026-09-03
- PyPA Advisory Database: [PYSEC-2026-3956](https://osv.dev/vulnerability/PYSEC-2026-3956), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-74870 · Whole record: https://cve.day/CVE-2026-74870.json · Rebuilt by cve.day 2026-11-25T22:59:33.330Z
