6.5

CVE-2021-32659: Automatic room upgrade handling can be used maliciously to bridge a room non-consentually

Modified
AliasesGHSA-35g4-qx3c-vjhx
Published 16-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32659 is a medium (CVSS 6.5) vulnerability in matrix-org matrix-appservice-bridge. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 62% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.94%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 16-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.94%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.94% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Matrix1 product
Matrix-org1 product
Npm1 product
  • matrix-appservice-bridge< 2.6.1

3 vendors · 3 products

References

5 links