CVE-2022-36009 in Matrix Dendrite and 1 more product
gomatrixserverlib is a Go library for matrix protocol federation. Dendrite is a Matrix homeserver written in Go, an alternative to Synapse. The power level parsing within gomatrixserverlib was failing to parse the `"events_default"` key of the `m.room.power_levels` event, defaulting the event default power level to ...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Matrix | Dendrite | ≤ 0.9.2 |
| Matrix | Gomatrixserverlib | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
gomatrixserverlib is a Go library for matrix protocol federation. Dendrite is a Matrix homeserver written in Go, an alternative to Synapse. The power level parsing within gomatrixserverlib was failing to parse the `"events_default"` key of the `m.room.power_levels` event, defaulting the event default power level to zero in all cases. Power levels are the matrix terminology for user access level. In rooms where the `"events_default"` power level had been changed, this could result in events either being incorrectly authorised or rejected by Dendrite servers. gomatrixserverlib contains a fix as of commit `723fd49` and Dendrite 0.9.3 has been updated accordingly. Matrix rooms where the `"events_default"` power level has not been changed from the default of zero are not vulnerable. Users are advised to upgrade. There are no known workarounds for this issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-36009 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-322267-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-08-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A vulnerability in gomatrixserverlib, a Go library used by Dendrite, a Matrix homeserver, incorrectly sets the default power level to zero for all events, potentially allowing unauthorized users to perform actions they should not be able to.
An attacker could exploit this vulnerability by sending a malformed `m.room.power_levels` event that does not include the `events_default` key. This would cause the server to default the power level to zero, granting unauthorized users the ability to perform actions that require higher power levels.
Questions
What is CVE-2022-36009?
A vulnerability in gomatrixserverlib, a Go library used by Dendrite, a Matrix homeserver, incorrectly sets the default power level to zero for all events, potentially allowing unauthorized users to perform actions they should not be able to.
What is the CVSS score for CVE-2022-36009?
CVE-2022-36009 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2022-36009 actively exploited?
No confirmed active exploitation of CVE-2022-36009 as of 2026-09-25.
How do I remediate CVE-2022-36009?
Priority: IMMEDIATE. Advisory: https://matrix.org/docs/guides/moderation/#power-levels PSIRT: [email protected]
What systems are affected by CVE-2022-36009?
CVE-2022-36009 affects Matrix Dendrite, Gomatrixserverlib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Matrix","product":"Dendrite","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.