CVE-2025-61672
MEDIUM 5.3CVSS 4.0Synapse's invalid device keys degrade federation functionality
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.
- Published
- 8 Oct 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1287
- Also known as
- GHSA-fh66-fcv5-jjfrPYSEC-2026-1612
- Sources
- NVDJSONOSV GHSA-fh66-fcv5-jjfrJSONOSV PYSEC-2026-1612JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | matrix-synapse | < 1.138.3 | 1.138.3 |
| OSV | PyPI | matrix-synapse | >= 1.139.0rc2, < 1.139.1 | 1.139.1 |
| OSV | PyPI | matrix-synapse | < 1.138.3; >= 1.139.0rc2, < 1.139.1 | 1.138.3, 1.139.1 |
References
- https://github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1 · WEB
- https://github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740 · WEB
- https://github.com/element-hq/synapse/pull/17097 · 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://github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr · 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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 8 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Oct 2025)