PyPA Advisory Database
PYSEC-2026-664
Matrix Synapse Security Filtering Flaw
Details
The on_get_missing_events function in handlers/federation.py in Matrix Synapse before 0.31.1 has a security bug in the get_missing_events federation API where event visibility rules were not applied correctly.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | matrix-synapse | All versions before 0.31.1 (fixed in 0.31.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12291
- https://github.com/matrix-org/synapse/pull/3371
- https://github.com/matrix-org/synapse/commit/0834b49c6a9b6c597a154d4b2dfcf8fff90699ec
- https://github.com/matrix-org/synapse
- https://github.com/matrix-org/synapse/releases/tag/v0.31.1
- https://pypi.org/project/matrix-synapse
- https://github.com/advisories/GHSA-v8wm-g9f2-xjv4