4.3Medium

CVE-2026-63097Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure

matrix-org dendrite Published: (4 months ago)

Description

Dendrite through 0.13.8 contains an improper access control vulnerability in the syncapi /context endpoint (syncapi/routing/context.go) that allows authenticated local users to access post-leave room state events by exploiting a flawed membership check that evaluates only the RoomExists field while ignoring IsInRoom, HasBeenInRoom, and Membership fields. Attackers who have left a room can call the rooms context API endpoint for a previously permitted event and receive unfiltered current room state that the /messages and /sync endpoints correctly withhold.

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
matrix dendrite ≤ 0.13.8
matrix-org dendrite ≤ 0.13.8

References and patches