# CVE-2022-39335: Synapse does not apply enough checks to servers requesting auth events of events in a room

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-26 · Modified: 2025-02-13
- Aliases: GHSA-45cj-f97f-ggwv, PYSEC-2023-65, UBUNTU-CVE-2022-39335, DEBIAN-CVE-2022-39335, ALPINE-CVE-2022-39335
- Record: https://cvemate.com/vulnerability/CVE-2022-39335 · JSON: https://cvemate.com/vulnerability/CVE-2022-39335/json

## Description

```text
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix Federation API allows remote homeservers to request the authorization events in a room. This is necessary so that a homeserver receiving some events can validate that those events are legitimate and permitted in their room. However, in versions of Synapse up to and including 1.68.0, a Synapse homeserver answering a query for authorization events does not sufficiently check that the requesting server should be able to access them. The issue was patched in Synapse 1.69.0. Homeserver administrators are advised to upgrade.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.635%, percentile 51.87%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine synapse (Alpine Linux): \< 1.70.1-r0 \| \< 1.69.0-r0
- debian matrix-synapse (Debian): \< 1.69.0-1
- ubuntu matrix-synapse (Ubuntu): All versions (No fix recorded) \| \< 1.53.0-1ubuntu0.1~esm2
- matrix-org synapse: \< 1.69.0
- matrix synapse: \< 1.69.0
- PyPI matrix-synapse (PyPI): \< 1.69.0

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-45cj-f97f-ggwv>
- <https://github.com/matrix-org/synapse/issues/13288>
- <https://github.com/matrix-org/synapse/pull/13823>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2MBNMZAFY4RCZL2VGBGAPKGB4JUPZVS/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39335>
- <https://github.com/matrix-org/synapse>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-65.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2MBNMZAFY4RCZL2VGBGAPKGB4JUPZVS>
- <https://ubuntu.com/security/CVE-2022-39335>
- <https://www.cve.org/CVERecord?id=CVE-2022-39335>
- <https://ubuntu.com/security/notices/USN-7444-1>
- <https://security-tracker.debian.org/tracker/CVE-2022-39335>
- <https://security.alpinelinux.org/vuln/CVE-2022-39335>

---

Data as of 2026-12-05T09:58:23.136Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
