Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. matrix-synapse
  4. ›
  5. CVE-2025-61672

CVE-2025-61672: Synapse's invalid device keys degrade federation functionality

October 8, 2025 (updated November 10, 2025)

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.

References

  • github.com/advisories/GHSA-fh66-fcv5-jjfr
  • github.com/element-hq/synapse
  • 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.138.4
  • github.com/element-hq/synapse/releases/tag/v1.139.1
  • github.com/element-hq/synapse/releases/tag/v1.139.2
  • github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr
  • nvd.nist.gov/vuln/detail/CVE-2025-61672

Code Behaviors & Features

Detect and mitigate CVE-2025-61672 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.139.0rc2 before 1.139.1, all versions before 1.138.3

Fixed versions

  • 1.138.3
  • 1.139.1

Solution

Upgrade to versions 1.138.3, 1.139.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1287: Improper Validation of Specified Type of Input

Source file

pypi/matrix-synapse/CVE-2025-61672.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Dec 2025 00:20:07 +0000.