Skip to content
Heist/ feed
Back to feed
Medium

Synapse: Invalid device keys degrade federation functionality

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61672
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:33 UTC · Revision 1

Source evidence

Synapse: Invalid device keys degrade federation functionality

core-osv · Original source

Published 8 Oct 2025, 14:55 UTC

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.

osv:CVE-2025-61672
Complete source record
{
  "id": "e62262e3ae0232d8fa57ff9055c7d33ce07de7c14224c1358450fa30f484c5fc",
  "url": "https://osv.dev/vulnerability/CVE-2025-61672",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Synapse: Invalid device keys degrade federation functionality",
    "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.",
    "evidence": "osv:CVE-2025-61672",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-61672",
      "aliases": [
        "CVE-2025-61672",
        "GHSA-fh66-fcv5-jjfr",
        "PYSEC-2026-1612"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/element-hq/synapse",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "527e831b61bcf04106b6338b53048ec3986be7c0"
                },
                {
                  "introduced": "72020f3f2c1890e6b262001bcdd6f642b729b9a9"
                },
                {
                  "fixed": "26aaaf9e48fff80cf67a20c691c75d670034b3c1"
                },
                {
                  "fixed": "7069636c2d6d1ef2022287addf3ed8b919ef2740"
                },
                {
                  "fixed": "76b012c3f5a1d51294dabcabde31e5dce94dddf8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.138.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "= 1.139.0"
                      },
                      {
                        "last_affected": "= 1.139.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "26aaaf9e48fff80cf67a20c691c75d670034b3c1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7069636c2d6d1ef2022287addf3ed8b919ef2740"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "527e831b61bcf04106b6338b53048ec3986be7c0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.138.3"
                  },
                  {
                    "range": [
                      {
                        "fixed": "76b012c3f5a1d51294dabcabde31e5dce94dddf8"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.139.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 1.139.0",
            "v1.138.2",
            "v1.139.0",
            "v1.138.1",
            "v1.138.0",
            "v1.138.0rc1",
            "v1.137.0rc1",
            "v1.136.0rc1",
            "v1.135.0rc1",
            "v1.133.0rc1",
            "v1.130.0rc1",
            "v1.128.0rc1",
            "v1.127.0rc1",
            "v1.126.0rc3",
            "v1.126.0rc2",
            "v1.126.0rc1",
            "v1.124.0rc1",
            "v1.123.0rc1",
            "v1.121.0rc1",
            "v1.116.0rc1",
            "v1.115.0rc1",
            "v1.114.0rc1",
            "v1.112.0rc1",
            "v1.111.0rc1",
            "v1.106.0rc1",
            "v1.105.0rc1",
            "v1.104.0rc1",
            "v1.103.0rc1",
            "v1.101.0rc1",
            "v1.100.0rc3",
            "v1.100.0rc2",
            "v1.100.0rc1",
            "v1.99.0rc1",
            "v1.98.0rc1",
            "v1.95.0rc1",
            "v1.94.0rc1",
            "v1.90.0rc1",
            "v1.88.0rc1",
            "v1.87.0rc1",
            "v1.84.0rc1",
            "v1.81.0rc1",
            "v1.79.0rc1",
            "v1.78.0rc1",
            "v1.76.0rc1",
            "v1.75.0rc1",
            "v1.63.0rc1",
            "v1.62.0rc1",
            "v1.52.0rc1",
            "v1.49.0rc1",
            "v1.40.0rc1",
            "v1.36.0rc1",
            "v1.35.0rc1",
            "v1.34.0rc1",
            "v1.32.0rc1",
            "v1.31.0rc1",
            "v1.30.0rc1",
            "v1.29.0rc1",
            "v1.27.0rc1",
            "v1.24.0rc1",
            "v1.23.0rc1",
            "v1.17.0rc1",
            "v1.18.0rc1",
            "v1.16.0rc1",
            "v1.15.0rc1",
            "v1.14.0rc1",
            "v1.12.0rc1",
            "v1.6.0rc1",
            "v1.11.0rc1",
            "v1.3.0rc1",
            "v1.1.0rc2",
            "v1.1.0rc1",
            "v1.10.0rc1",
            "v1.9.0rc1",
            "v1.9.0.dev2",
            "v1.9.0.dev1",
            "v1.8.0rc1",
            "v1.5.0rc1",
            "v1.4.0rc1",
            "v0.99.5.1.dev0",
            "v0.99.4rc1",
            "v0.99.2rc1",
            "v0.99.1rc1",
            "hhs-8",
            "hhs-7",
            "hhs-6",
            "hhs-5",
            "hhs-3",
            "hhs-2",
            "hhs-1",
            "v0.32.2",
            "v0.32.0",
            "v0.32.0rc1",
            "v0.28.0-rc1",
            "v0.25.0-rc1",
            "v0.23.0-rc2",
            "v0.23.0-rc1",
            "v0.18.5",
            "v0.18.4",
            "v0.18.3",
            "v0.18.2",
            "v0.18.1",
            "v0.18.0",
            "v0.17.3",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.1-r1",
            "v0.16.1",
            "v0.16.0",
            "v0.14.0",
            "v0.13.3",
            "v0.13.2",
            "v0.13.1",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0-r2",
            "v0.11.0-r1",
            "v0.11.0",
            "v0.10.0-r2",
            "v0.10.0-r1",
            "v0.10.0",
            "v0.9.3",
            "v0.9.2-r2",
            "v0.9.2-r1",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0-r5",
            "v0.9.0-r4",
            "v0.9.0-r3",
            "v0.9.0-r2",
            "v0.9.0-r1",
            "v0.9.0",
            "v0.8.1-r4",
            "v0.8.1-r3",
            "v0.8.1-r2",
            "v0.8.1-r1",
            "v0.8.1",
            "v0.8.0",
            "v0.7.1-r4",
            "v0.7.1-r3",
            "v0.7.1-r2",
            "v0.7.1-r1",
            "v0.7.1",
            "v0.7.0f",
            "v0.7.0e",
            "v0.7.0d",
            "v0.7.0c",
            "v0.7.0b",
            "v0.7.0a",
            "v0.7.0",
            "v0.6.1f",
            "v0.6.1e",
            "v0.6.1d",
            "v0.6.1c",
            "v0.6.1b",
            "v0.6.1a",
            "v0.6.1",
            "v0.6.0b",
            "v0.6.0a",
            "v0.6.0",
            "v0.5.4a",
            "v0.5.4",
            "v0.5.3c",
            "v0.5.3b",
            "v0.5.3a",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.2",
            "v0.4.1",
            "v0.3.4",
            "v0.3.3",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1a",
            "v0.2.1",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61672.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.508694748Z",
      "provider": "osv",
      "references": [
        "https://github.com/element-hq/synapse/releases/tag/v1.138.3",
        "https://github.com/element-hq/synapse/releases/tag/v1.139.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61672.json",
        "https://github.com/element-hq/synapse/security/advisories/GHSA-fh66-fcv5-jjfr",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61672",
        "https://github.com/element-hq/synapse/commit/26aaaf9e48fff80cf67a20c691c75d670034b3c1",
        "https://github.com/element-hq/synapse/commit/7069636c2d6d1ef2022287addf3ed8b919ef2740",
        "https://github.com/element-hq/synapse/pull/17097"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61672.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61672",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491919,
  "published_at": "2025-10-08T14:55:06.378+00:00"
}