GHSA-xq7h-2f2w-f2xqMediumCVSS 4.3
Dendrite through 0.13.8 contains an improper access control vulnerability in the syncapi /context...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (4)
- https://nvd.nist.gov/vuln/detail/CVE-2026-63097
- https://github.com/geo-chen/oss/blob/main/dendrite.md#finding-3-context-returns-current-room-state-to-non-members-and-left-users-history-visibility-bypass
- https://www.vulncheck.com/advisories/dendrite-syncapi-context-endpoint-post-leave-state-exposure
- https://github.com/advisories/GHSA-xq7h-2f2w-f2xq