openssl-encrypt before 1.4.9 Password Cleartext Leak via Debug
jahlives openssl_encrypt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openssl-encrypt PyPI |
|
|
Original description
openssl-encrypt before 1.4.9 fails to redact the file password in its --debug argv dump when the password is supplied via bundled short-option spellings (e.g. -apHunter2) or abbreviated long-option spellings (e.g. --passw). The sanitizer only recognized exact option names, --option=value forms, and tokens starting with -p, so these spellings bypass the redaction chokepoint and the cleartext password is written to stderr. Anyone with access to that output (terminal scrollback, merged 2>&1 output, CI job logs, or the GUI's persistent debug log) can recover the password.
From the CVE record · VulnCheck
References
- github.com/jahlives/openssl_encrypt/security/advisories/GHSA-jgvm-7jxv-cgccVendor advisory
- vulncheck.com/advisories/openssl-encrypt-before-1.4.9-password-cleartext-leak-via-debugAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81705.json
- nvd.nist.gov/vuln/detail/CVE-2026-81705