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

High 8.7 Published Updated

Diagnostic commands in the openssl_encrypt library leak derived hardware pepper values to logs, exposing sensitive data that is salt-bound and limited in impact.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-74870?

CVE-2026-74870 is a high-severity vulnerability in Jahlives Openssl Encrypt, published on 17 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-532

Which versions are affected by CVE-2026-74870?

1 open source package ship an affected version, including openssl-encrypt. It affects 1 product.

PackageAffectedFixed in
openssl-encrypt PyPIAll versions1.4.7

Products include Jahlives Openssl Encrypt.

How do I fix CVE-2026-74870?

Upgrade openssl-encrypt to 1.4.7 or later.

Is CVE-2026-74870 being exploited?

There is no known exploitation of CVE-2026-74870 in the wild and no public exploit code.

All Jahlives Openssl Encrypt vulnerabilities

Sources

Also known as GHSA-p9g8-wvh4-2jmx, GHSA-q9f6-q6m5-f5h2, PYSEC-2026-3956.

Is CVE-2026-74870 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free