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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-17T15:32:45.411Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- matrix-org dendrite: up to 0.13.8

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <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> (exploit, technical-description)
- <https://www.vulncheck.com/advisories/dendrite-syncapi-context-endpoint-post-leave-state-exposure> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-63097](https://www.cve.org/CVERecord?id=CVE-2026-63097), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-63097](https://nvd.nist.gov/vuln/detail/CVE-2026-63097), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63097 · Whole record: https://cve.day/CVE-2026-63097.json · Rebuilt by cve.day 2026-11-25T22:59:28.490Z
