VDB
Sign up

PYSEC-2026-3769

Quick fix

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

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

Details

openssl_encrypt before 1.4.0 contains an authentication bypass vulnerability in the verify_api_token function that accepts any non-empty Bearer token string without validation. Attackers can upload arbitrary public keys, enumerate all keys, and revoke keys belonging to any user by providing any Bearer token in the Authorization header.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References