{"id":"CVE-2025-61672","published":"2025-10-08T14:55:06Z","modified":"2025-10-15T16:11:07Z","title":"Synapse: Invalid device keys degrade federation functionality","vendor":"element-hq","product":"synapse","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00476,"percentile":0.42069,"provenance":"source"},"cwes":[{"id":"CWE-1287","name":"Improper Validation of Specified Type of Input"}],"references":[{"url":"https://github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/element-hq/synapse/pull/17097","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/synapse/releases/tag/v1.138.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/synapse/releases/tag/v1.139.1","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":8.41},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"element-hq","affectedVersions":[{"vendor":"element-hq","product":"synapse","versions":["< 1.138.3","= 1.139.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-15T16:10:58.297046Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.138.3",">=1.139.0rc2, <1.139.1"],"patched":["1.138.3","1.139.1"],"from":["GHSA-fh66-fcv5-jjfr","PYSEC-2026-1612"],"provenance":"source"}],"summary":{"text":"The flaw is a lack of validation of device keys in Synapse, the open source Matrix homeserver implementation, affecting versions before 1.138.3 and version 1.139.0. An attacker who is registered on the victim homeserver, with low privileges and no user interaction needed, can send invalid device keys that break outbound federation with other homeservers unpredictably, degrading federation functionality.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:12Z"},"euvd":{"id":"EUVD-2025-33305","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-53863","published":"2024-12-03","fixed":"1.120.1","kev":false},{"cve":"CVE-2024-53867","published":"2024-12-03","fixed":"1.120.1","kev":false},{"cve":"CVE-2025-30355","published":"2025-03-27","fixed":"1.127.1","kev":false,"link":{"from":"CVE-2025-30355","to":"CVE-2025-61672","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.127.1","toFixed":"1.138.3","daysApart":195}]}},{"cve":"CVE-2025-61672","published":"2025-10-08","fixed":"1.139.1","kev":false},{"cve":"CVE-2026-45076","published":"2026-05-28","fixed":"1.152.1","kev":false,"link":{"from":"CVE-2025-61672","to":"CVE-2026-45076","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.139.1","toFixed":"1.152.1","daysApart":232}]}},{"cve":"CVE-2026-45078","published":"2026-05-28","fixed":"1.152.1","kev":false,"link":{"from":"CVE-2025-61672","to":"CVE-2026-45078","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.139.1","toFixed":"1.152.1","daysApart":232}]}}],"package":"PyPI:matrix-synapse"}}