Matrix synapse: Lack of validation for device keys in Synapse before 1.138.3 and in Synapse 1.139.0 allow an attacker
Affects matrix-synapseSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 1.138.3 : update matrix-synapse when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.138.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:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSmatrix-synapsepkg:deb/ubuntu/matrix-synapse?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSmatrix-synapsepkg:deb/ubuntu/matrix-synapse?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSmatrix-synapsepkg:deb/ubuntu/matrix-synapse?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSmatrix-synapsepkg:deb/ubuntu/matrix-synapse?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2025-61672 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-61672 (opens in a new tab)
- github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1 (opens in a new tab)
- github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740 (opens in a new tab)
- github.com/element-hq/synapse/pull/17097 (opens in a new tab)
- github.com/element-hq/synapse/releases/tag/v1.138.3 (opens in a new tab)
- github.com/element-hq/synapse/releases/tag/v1.139.1 (opens in a new tab)
- github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr (opens in a new tab)