Live threats

All CVEs / Matrix

CVE-2021-39163Matrix Synapse

Low 3.1

Priority
19
CVSS 3.1
3.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 61
Auth required
Yes
Published
Aug 31, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-863
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

Matrix is an ecosystem for open federated Instant Messaging and Voice over IP. In versions 1.41.0 and prior, unauthorised users can access the name, avatar, topic and number of members of a room if they know the ID of the room. This vulnerability is limited to homeservers where the vulnerable homeserver is in the room and untrusted users are permitted to create groups (communities). By default, only homeserver administrators can create groups. However, homeserver administrators can already access this information in the database or using the admin API. As a result, only homeservers where the configuration setting `enable_group_creation` has been set to `true` are impacted. Server administrators should upgrade to 1.41.1 or higher to patch the vulnerability. There are two potential workarounds. Server administrators can set `enable_group_creation` to `false` in their homeserver configuration (this is the default value) to prevent creation of groups by non-administrators. Administrators that are using a reverse proxy could, with partial loss of group functionality, block the endpoints `/_matrix/client/r0/groups/{group_id}/rooms` and `/_matrix/client/unstable/groups/{group_id}/rooms`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.41.1 1.41.1 pip install "matrix-synapse>=1.41.1"
PyPI matrix-synapse < 1.41.1 1.41.1 pip install "matrix-synapse>=1.41.1"

Per OSV / GitHub Advisories (GHSA-jj53-8fmw-f2w2, PYSEC-2021-424). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.41.1
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.