ADVISORIES

PyPA Advisory Database

PYSEC-2026-843

Matrix Sydent mishandles emails

Details

util/emailutils.py in Matrix Sydent before 1.0.2 mishandles registration restrictions that are based on e-mail domain, if the allowed_local_3pids option is enabled. This occurs because of potentially unwanted behavior in Python, in which an email.utils.parseaddr call on [email protected]@good.example.com returns the [email protected] substring.

Affected packages

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

References