VDB
Sign up
HIGH7.5

PYSEC-2026-664

Matrix Synapse Security Filtering Flaw

Quick fix

PYSEC-2026-664 — matrix-synapse: upgrade to the fixed version with the command below.

pip install --upgrade 'matrix-synapse>=0.31.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/matrix-synapse
Introduced in: 0Fixed in: 0.31.1
Fixpip install --upgrade 'matrix-synapse>=0.31.1'

References