—
PYSEC-2026-3774
Quick fix
PYSEC-2026-3774 — openssl-encrypt: upgrade to the fixed version with the command below.
pip install --upgrade 'openssl-encrypt>=1.4.9'Details
openssl_encrypt versions before 1.4.9 fail to escape attacker-controlled key_id values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious key_id containing escape sequences to repaint terminal output and forge authenticity verification blocks.
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'