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

Published Oct 8, 2025
·
Updated

Impact

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.

Patches

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, it is recommend to skip these releases and upgrading straight to 1.138.4 and 1.139.2.

Workarounds

The vulnerability can only be exploited by users registered on the victim homeserver.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
synapse Synapse>1.138.3, <1.139.0
pip/matrix-synapse>=1.139.0rc2<1.139.1
1.139.1
pip/matrix-synapse<1.138.3
1.138.3

Event History

Oct 8, 2025
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·05:51 PM
Data Sourced
via GitHub·05:51 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61672?

CVE-2025-61672 is considered a moderate severity vulnerability due to its potential to disrupt federation functionality.

2

How do I fix CVE-2025-61672?

To mitigate CVE-2025-61672, upgrade your Synapse installation to version 1.138.3 or later.

3

Who is affected by CVE-2025-61672?

CVE-2025-61672 affects users of Synapse versions before 1.138.3 and version 1.139.0.

4

What are the implications of CVE-2025-61672?

Exploitation of CVE-2025-61672 allows an attacker to degrade federation functionality, causing issues with outbound federation.

5

Is there a workaround for CVE-2025-61672?

Currently, the recommended solution for CVE-2025-61672 is to apply the available updates rather than relying on workarounds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203