CVE-2026-63097
JSON

5.3medium

Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
matrix-org dendriteup to 0.13.8CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Dendrite hasta la versión 0.13.8 contiene una vulnerabilidad de control de acceso inadecuado en el endpoint /context de syncapi (syncapi/routing/context.go) que permite a usuarios locales autenticados acceder a eventos de estado de sala posteriores a la salida explotando una verificación de membresía defectuosa que evalúa solo el campo RoomExists mientras ignora los campos IsInRoom, HasBeenInRoom y Membership. Atacantes que han abandonado una sala pueden llamar al endpoint API de contexto de salas para un evento previamente permitido y recibir el estado actual de la sala sin filtrar que los endpoints /messages y /sync retienen correctamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63097 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-63097 changed 2026-10-24Public domain