CVE-2025-61672
Synapse is an open source Matrix homeserver implementation. Lack of …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1
- github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740
- github.com/element-hq/synapse/pull/17097
- github.com/element-hq/synapse/releases/tag/v1.138.3
- github.com/element-hq/synapse/releases/tag/v1.139.1
- github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr
- nvd.nist.gov/vuln/detail/CVE-2025-61672
- github.com/element-hq/synapse/releases/tag/v1.138.4
- nvd.nist.gov/vuln/detail/CVE-2025-61672
- cve.org/CVERecord?id=CVE-2025-61672
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.