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

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-05-24T17:20:43.000Z
- Modified: 2026-06-17T04:58:09.987Z
- Also known as: GHSA-45cj-f97f-ggwv, PYSEC-2023-65
- Weaknesses: CWE-200, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org synapse: < 1.69.0
- matrix-synapse (PyPI): before 1.69.0
- matrix synapse: before 1.69.0

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.0 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-45cj-f97f-ggwv> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/matrix-org/synapse/issues/13288> (issue-tracking, report, web)
- <https://github.com/matrix-org/synapse/pull/13823> (fix, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2MBNMZAFY4RCZL2VGBGAPKGB4JUPZVS/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39335> (advisory)
- <https://github.com/matrix-org/synapse> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-65.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2MBNMZAFY4RCZL2VGBGAPKGB4JUPZVS> (web)

## Sources

- CVE List: [CVE-2022-39335](https://www.cve.org/CVERecord?id=CVE-2022-39335), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-45cj-f97f-ggwv](https://github.com/advisories/GHSA-45cj-f97f-ggwv), CC-BY-4.0, modified 2024-09-24
- NVD: [CVE-2022-39335](https://nvd.nist.gov/vuln/detail/CVE-2022-39335), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-65](https://osv.dev/vulnerability/PYSEC-2023-65), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-39335 · Whole record: https://cve.day/CVE-2022-39335.json · Rebuilt by cve.day 2026-11-25T22:58:19.269Z
