CVE-2022-39374Matrix Synapse
Medium 6.5
Follow: this CVE · Matrix · Matrix Synapse We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- May 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0
What to do
- Apply the vendor's security update for Synapse.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | matrix-synapse |
≥ 1.62.0 < 1.68.0rc1 |
1.68.0rc1 |
pip install "matrix-synapse>=1.68.0rc1" |
| PyPI | matrix-synapse |
≥ 1.62.0 < 1.68.0 |
1.68.0 |
pip install "matrix-synapse>=1.68.0" |
Per OSV / GitHub Advisories (GHSA-p9qp-c452-f9r7, PYSEC-2023-66). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix | synapse | ≥ 1.62.0 < 1.68.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Mitigation Vendor Advisory
- lists.fedoraproject.org