CVE-2022-39200Matrix Dendrite
Medium 5.3 No auth needed
Follow: this CVE · Matrix · Matrix Dendrite We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 27
- Auth required
- No
- Published
- Sep 12, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
Dendrite is a Matrix homeserver written in Go. In affected versions events retrieved from a remote homeserver using the `/get_missing_events` path did not have their signatures verified correctly. This could potentially allow a remote homeserver to provide invalid/modified events to Dendrite via this endpoint. Note that this does not apply to events retrieved through other endpoints (e.g. `/event`, `/state`) as they have been correctly verified. Homeservers that have federation disabled are not vulnerable. The problem has been fixed in Dendrite 0.9.8. Users are advised to upgrade. There are no known workarounds for this issue.
What to do
- Apply the vendor's security update for Dendrite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/matrix-org/dendrite |
< 0.9.8 |
0.9.8 |
go get github.com/matrix-org/dendrite@v0.9.8 |
| Go | github.com/matrix-org/dendrite |
< 0.9.8 |
0.9.8 |
go get github.com/matrix-org/dendrite@v0.9.8 |
Per OSV / GitHub Advisories (GHSA-pfw4-xjgm-267c, GO-2022-0989). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix | dendrite | < 0.9.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory