CVE-2022-36009: Incorrect parsing of access level in gomatrixserverlib and dendrite
Vulnerability summary
CVE-2022-36009 is a high (CVSS 8.8) Incorrect Authorization vulnerability in matrix-org gomatrixserverlib. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 59.7% of scored vulnerabilities.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 19-08-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.86%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/matrix-org2 products
- dendrite< 0.9.3
- gomatrixserverlib< 0.0.0-20220815091947-723fd495dde8
Matrix2 products
- dendrite≤ 0.9.2
- gomatrixserverlibna
Matrix-org1 product
- gomatrixserverlib< 0.9.3 for dendrite | < 723fd49 for gomatrixserverlib
3 vendors · 5 products
References
6 links- github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9cX Refsource CONFIRMWEBThird Party Advisory
- github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575X Refsource MISCWEBFIXPatchThird Party Advisory