{"id":"CVE-2026-63097","published":"2026-07-17T15:32:45Z","modified":"2026-07-28T01:50:00Z","title":"Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure","vendor":"matrix-org","product":"dendrite","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00267,"percentile":0.19202,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"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","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/dendrite-syncapi-context-endpoint-post-leave-state-exposure","tags":["third-party-advisory"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":3.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"dendrite","versions":["<= 0.13.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T19:18:43.951534Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45195","exploited":false,"provenance":"source"},"exploitRefs":["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"]}