VDB
Sign up

PYSEC-2026-3799

Quick fix

PYSEC-2026-3799 — openssl-encrypt: upgrade to the fixed version with the command below.

pip install --upgrade 'openssl-encrypt>=1.4.9'

Details

openssl_encrypt (pip: openssl-encrypt) versions <= 1.4.8 use suffix-tolerant fingerprint matching in enroll_trust_key when binding a plugin-signing trust anchor. An operator who confirms a short (forgeable, ~32-bit) GPG key id could unknowingly enroll an attacker's colliding key as a trusted anchor, which then vouches for malicious plugins under the ENFORCE signature policy. Version 1.4.9 fixes this by requiring the confirmed value to exactly match the full primary-key fingerprint (case-insensitive, whitespace-stripped).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/openssl-encrypt
Introduced in: 0Fixed in: 1.4.9
Fixpip install --upgrade 'openssl-encrypt>=1.4.9'

References