CVE-2019-11340Matrix Sydent
Medium 5.9 No auth needed
Follow: this CVE · Matrix · Matrix Sydent We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Apr 19, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Sydent.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | matrix-sydent |
< 1.0.2 |
1.0.2 |
pip install "matrix-sydent>=1.0.2" |
| PyPI | matrix-sydent |
< 1.0.2 |
1.0.2 |
pip install "matrix-sydent>=1.0.2" |
Per OSV / GitHub Advisories (GHSA-q9h8-gpw5-c95c, PYSEC-2026-843). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix | sydent | < 1.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- matrix.org Release Notes Vendor Advisory
- twitter.com Third Party Advisory