Matrix Sydent mishandles emails
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 user@bad.example.net@good.example.com returns the user@bad.example.net substring.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | matrix-sydent | < 1.0.2 | 1.0.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11340
- https://github.com/matrix-org/sydent/commit/4e1cfff53429c49c87d5c457a18ed435520044fc
- https://github.com/matrix-org/sydent/compare/7c002cd...09278fb
- https://matrix.org/blog/2019/04/18/security-update-sydent-1-0-2
- https://twitter.com/matrixdotorg/status/1118934335963500545
- https://pypi.org/project/matrix-sydent
- https://github.com/advisories/GHSA-q9h8-gpw5-c95c
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-20- Platform
- Python (PyPI)
- Package
matrix-sydent- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-843 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-q9h8-gpw5-c95c - CC BY 4.0
Vulnerability history: matrix-sydent
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 05.2019 07.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 2
- Medium 4
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 4
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Matrix Sydent mishandles emails this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.