ADVISORIES

PyPA Advisory Database

PYSEC-2026-2620

matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG

Details

An issue was discovered in Matrix Sydent before 1.0.3 and Synapse before 0.99.3.1. Random number generation is mishandled, which makes it easier for attackers to predict a Sydent authentication token or a Synapse random ID.

Affected packages

EcosystemPackageAffected versions
PyPImatrix-sydent
All versions before 1.0.3 (fixed in 1.0.3)

References