CVE-2025-61672 json
Synapse: Invalid device keys degrade federation functionality
published last yr. modified last mo. also EUVD-2025-33305 , GHSA-fh66-fcv5-jjfr , PYSEC-2026-1612
- cvss
- 5.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi matrix-synapse 1.138.3, 1.139.1
- element-hq synapse 1.138.3, 1.139.1
- element synapse 1.138.3, 1.139.1
- matrix synapse 1.138.3, 1.139.1
- matrix-synapse openSUSE Tumbleweed 1.139.1-1.1
opensuse advisories openSUSE-SU-2025:15603-1
- synapse Alpine 3.24, Alpine 3.23, Alpine 3.22 1.139.2-r0
alpine advisories ALPINE-CVE-2025-61672
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/element-hq/synapse@26aaaf9 commit
- github.com/element-hq/synapse@7069636 commit
- github.com/element-hq/synapse#17097 pull request
- github.com/element-hq/synapse/releases/tag/v1.138.3 release
- github.com/element-hq/synapse/releases/tag/v1.139.1 release
- github.com/element-hq/synapse/releases/tag/v1.138.4 release
- github.com/element-hq/synapse/releases/tag/v1.139.2 release
Is CVE-2025-61672 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-61672 updated cvss 5.4
matrix-synapse: Synapse: Lack of device key validation leads to federation degradation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.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:N |
| CNA | 4.0 | 5.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:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-synapse | <1.138.3 >=1.139.0rc2, <1.139.1 |
1.138.3 1.139.1 |
Affected products
- element-hq synapse
Classification
- Weakness
-
- CWE-1287 Improper Validation of Specified Type of Input
References
-
github.com
/element-hq/synapse/pull/17097
web
-
github.com
/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1
web
-
github.com
/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740
web
-
github.com
/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr
web
-
github.com
/element-hq/synapse/releases/tag/v1.138.3
web
-
github.com
/element-hq/synapse/releases/tag/v1.139.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-61672
advisory
-
github.com
/element-hq/synapse
package
-
github.com
/element-hq/synapse/releases/tag/v1.138.4
web
-
github.com
/element-hq/synapse/releases/tag/v1.139.2
web
-
pypi.org
/project/matrix-synapse
package
-
github.com
/advisories/GHSA-fh66-fcv5-jjfr
advisory
Sources
- CVE List CVE-2025-61672
- GitHub Advisory GHSA-fh66-fcv5-jjfr
- NVD CVE-2025-61672
- OSV PYSEC-2026-1612
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.