Advisory

PYSEC-2026-664

Also known as: CVE-2018-12291, GHSA-v8wm-g9f2-xjv4

Summary

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-02 14:13 UTC
Modified
2026-07-06 08:00 UTC

Affected packages and fixes

matrix-synapse

PyPI · All systems

Affected

  • introduced 0, fixed 0.31.1 (ecosystem)

Fixed versions

0.31.1

Fix

  • Fixed version 0.31.1
    pip install --upgrade matrix-synapse==0.31.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences