BreachSpiderVerified, not vibes

CVE-2021-32659 in Matrix-Appservice-Bridge

Medium 4.9

Matrix-appservice-bridge is the bridging service for the Matrix communication program's application services. In versions 2.6.0 and earlier, if a bridge has room upgrade handling turned on in the configuration (the `roomUpgradeOpts` key when instantiating a new `Bridge` instance.), any `m.room.tombstone` event it en...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.9
EPSS0.9%
EPSS percentile59th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Matrix Matrix-Appservice-Bridge < 2.6.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Matrix-appservice-bridge is the bridging service for the Matrix communication program's application services. In versions 2.6.0 and earlier, if a bridge has room upgrade handling turned on in the configuration (the `roomUpgradeOpts` key when instantiating a new `Bridge` instance.), any `m.room.tombstone` event it encounters will be used to unbridge the current room and bridge into the target room. However, the target room `m.room.create` event is not checked to verify if the `predecessor` field contains the previous room. This means that any malicious admin of a bridged room can repoint the traffic to a different room without the new room being aware. Versions 2.6.1 and greater are patched. As a workaround, disabling the automatic room upgrade handling can be done by removing the `roomUpgradeOpts` key from the `Bridge` class options.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-32659
BreachSpider IDBS-2021-GLOBAL-275585-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Published2021-06-16
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-306: Missing Authentication for Critical Function

Software does not perform any authentication for functionality that requires a verified identity.

Related attack patterns (CAPEC)

CAPEC-12 Choosing Message Identifier via CWE-306

CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306

CAPEC-62 Cross Site Request Forgery via CWE-306

CAPEC-166 Force the System to Reset Values via CWE-306

CAPEC-216 Communication Channel Manipulation via CWE-306

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-32659 affects Matrix-appservice-bridge versions 2.6.0 and earlier, where a malicious actor can exploit room upgrade handling to unbridge the current room and bridge into a target room using an m.room.tombstone event.

An attacker can send a specially crafted m.room.tombstone event to a bridge that has room upgrade handling enabled. This event can cause the bridge to unbridge the current room and bridge into a target room specified by the attacker, potentially leading to unauthorized bridging of rooms.

Questions

What is CVE-2021-32659?

CVE-2021-32659 affects Matrix-appservice-bridge versions 2.6.0 and earlier, where a malicious actor can exploit room upgrade handling to unbridge the current room and bridge into a target room using an m.room.tombstone event.

What is the CVSS score for CVE-2021-32659?

CVE-2021-32659 has CVSS 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.9%.

Is CVE-2021-32659 actively exploited?

No confirmed active exploitation of CVE-2021-32659 as of 2026-09-25.

How do I remediate CVE-2021-32659?

Priority: MEDIUM.

What systems are affected by CVE-2021-32659?

CVE-2021-32659 affects Matrix Matrix-Appservice-Bridge.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Matrix","product":"Matrix-Appservice-Bridge","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.