Intel

AIKIDO-2026-262736

matrix-synapse is vulnerable to Information Disclosure

Information DisclosureGHSA-r66v-qhwx-8rg4 Published 3 days ago

52

Medium Risk

This Affects:

PYTHONmatrix-synapse
0.0.1 - 1.157.1
Fixed in 1.157.2
Are you affected? Scan for Free

TL;DR

The federation timestamp_to_event endpoint does not verify that the requesting homeserver is in the room before responding. Any remote homeserver that knows a room ID can request the event nearest to a given timestamp and receive event IDs. This unintentionally discloses event IDs from rooms the requesting server has not joined. The fix verifies room membership before handling the request.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your homeserver participates in open federation.

Background info

matrix-synapse is vulnerable to Information Disclosure in versions 0.0.1 - 1.157.1.

How to fix this

Upgrade the matrix-synapse library to the patch version.