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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-08 · Modified: 2025-10-15
- Aliases: GHSA-fh66-fcv5-jjfr, PYSEC-2026-1612, UBUNTU-CVE-2025-61672, DEBIAN-CVE-2025-61672, openSUSE-SU-2025:15603-1, ALPINE-CVE-2025-61672
- Record: https://cvemate.com/vulnerability/CVE-2025-61672 · JSON: https://cvemate.com/vulnerability/CVE-2025-61672/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) 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
- EPSS: 0.476%, percentile 42.797%, 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.139.2-r0
- debian matrix-synapse (Debian): \< 1.139.2-1
- ubuntu matrix-synapse (Ubuntu): All versions (No fix recorded)
- element-hq synapse: \< 1.138.3 \| = 1.139.0
- PyPI matrix-synapse (PyPI): \< 1.138.3 \| ≥ 1.139.0rc2, \< 1.139.1
- opensuse matrix-synapse&distro=openSUSE Tumbleweed (openSUSE): \< 1.139.1-1.1

## References

- <https://github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr>
- <https://github.com/element-hq/synapse/pull/17097>
- <https://github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1>
- <https://github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740>
- <https://github.com/element-hq/synapse/releases/tag/v1.138.3>
- <https://github.com/element-hq/synapse/releases/tag/v1.139.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61672>
- <https://github.com/element-hq/synapse>
- <https://github.com/element-hq/synapse/releases/tag/v1.138.4>
- <https://github.com/element-hq/synapse/releases/tag/v1.139.2>
- <https://pypi.org/project/matrix-synapse>
- <https://github.com/advisories/GHSA-fh66-fcv5-jjfr>
- <https://ubuntu.com/security/CVE-2025-61672>
- <https://www.cve.org/CVERecord?id=CVE-2025-61672>
- <https://security-tracker.debian.org/tracker/CVE-2025-61672>
- <https://www.suse.com/security/cve/CVE-2025-61672>
- <https://security.alpinelinux.org/vuln/CVE-2025-61672>

---

Data as of 2026-12-05T05:31:30.627Z. 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
