CVE-2025-61672
Python vulnerability analysis and mitigation

Overview

CVE-2025-61672 affects Synapse, an open source Matrix homeserver implementation. The vulnerability was discovered and disclosed in October 2025, involving lack of validation for device keys in versions before 1.138.3 and in version 1.139.0. The vulnerability allows attackers registered on a victim homeserver to degrade federation functionality (GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of device keys in the /keys/upload endpoint. The issue is related to improper validation of specified type of input (CWE-1287). The vulnerability has been assigned a CVSS v4.0 Base Score of 5.3 (Medium) with vector string 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 (NVD).

Impact

When exploited, the vulnerability can cause unpredictable breaking of outbound federation to other homeservers, degrading the federation functionality of the affected Synapse instance. The impact is limited to users who are already registered on the victim homeserver (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Synapse versions 1.138.3, 1.138.4, 1.139.1, and 1.139.2. However, versions 1.138.3 and 1.139.1 introduced an unrelated regression, so users are recommended to upgrade directly to 1.138.4 or 1.139.2. As a workaround, administrators can limit user registration on their homeserver to reduce the attack surface (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61784HIGH7.6
  • PythonPython
  • llamafactory
NoNoOct 07, 2025
CVE-2025-6985HIGH7.5
  • PythonPython
  • langchain-text-splitters
NoYesOct 06, 2025
CVE-2025-59152HIGH7.5
  • PythonPython
  • litestar
NoYesOct 06, 2025
CVE-2025-61765MEDIUM6.4
  • PythonPython
  • python-socketio
NoYesOct 06, 2025
CVE-2025-61672MEDIUM5.3
  • PythonPython
  • matrix-synapse
NoYesOct 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management