—
PYSEC-2026-3780
Quick fix
PYSEC-2026-3780 — openssl-encrypt: upgrade to the fixed version with the command below.
pip install --upgrade 'openssl-encrypt>=1.4.9'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/openssl-encrypt
Introduced in:
0Fixed in: 1.4.9Fix
pip install --upgrade 'openssl-encrypt>=1.4.9'