# CVE-2025-61672: Synapse: Invalid device keys degrade federation functionality

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-10-08T14:55:06.378Z
- Modified: 2026-10-08T13:10:00.200Z
- Also known as: GHSA-fh66-fcv5-jjfr, PYSEC-2026-1612
- Weaknesses: CWE-1287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Synapse is an open source Matrix homeserver implementation. Lack of validation for device keys in Synapse before 1.138.3 and in Synapse 1.139.0 allow an attacker registered on the victim homeserver to degrade federation functionality, unpredictably breaking outbound federation to other homeservers. The issue is patched in Synapse 1.138.3, 1.138.4, 1.139.1, and 1.139.2. Note that even though 1.138.3 and 1.139.1 fix the vulnerability, they inadvertently introduced an unrelated regression. For this reason, the maintainers of Synapse recommend skipping these releases and upgrading straight to 1.138.4 and 1.139.2.

(As written by CVE List.)

## Affected

- element-hq synapse: < 1.138.3; = 1.139.0
- matrix-synapse (PyPI): before 1.138.3; from 1.139.0rc2 before 1.139.1

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr> (web)
- <https://github.com/element-hq/synapse/pull/17097> (web)
- <https://github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1> (web)
- <https://github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740> (web)
- <https://github.com/element-hq/synapse/releases/tag/v1.138.3> (web)
- <https://github.com/element-hq/synapse/releases/tag/v1.139.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61672> (advisory)
- <https://github.com/element-hq/synapse> (package)
- <https://github.com/element-hq/synapse/releases/tag/v1.138.4> (web)
- <https://github.com/element-hq/synapse/releases/tag/v1.139.2> (web)
- <https://pypi.org/project/matrix-synapse> (package)
- <https://github.com/advisories/GHSA-fh66-fcv5-jjfr> (advisory)

## Sources

- CVE List: [CVE-2025-61672](https://www.cve.org/CVERecord?id=CVE-2025-61672), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-fh66-fcv5-jjfr](https://github.com/advisories/GHSA-fh66-fcv5-jjfr), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-61672](https://nvd.nist.gov/vuln/detail/CVE-2025-61672), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-1612](https://osv.dev/vulnerability/PYSEC-2026-1612), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-61672 · Whole record: https://cve.day/CVE-2025-61672.json · Rebuilt by cve.day 2026-11-25T22:59:05.654Z
