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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-17 · Modified: 2026-07-28
- Record: https://cvemate.com/vulnerability/CVE-2026-63097 · JSON: https://cvemate.com/vulnerability/CVE-2026-63097/json

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

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) 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
- EPSS: 0.16%, percentile 5.34%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- matrix-org dendrite: ≤ 0.13.8

## 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>
- <https://www.vulncheck.com/advisories/dendrite-syncapi-context-endpoint-post-leave-state-exposure>

---

Data as of 2026-12-05T06:33:10.549Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
