# CVE-2021-39163: Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-08-31 · Modified: 2024-08-04
- Aliases: GHSA-jj53-8fmw-f2w2, PYSEC-2021-424, UBUNTU-CVE-2021-39163, DEBIAN-CVE-2021-39163, ALPINE-CVE-2021-39163
- Record: https://cvemate.com/vulnerability/CVE-2021-39163 · JSON: https://cvemate.com/vulnerability/CVE-2021-39163/json

## Description

```text
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`.
```

## Signals

- CVSS: 3.5 low (v2.0, NVD) AV:N/AC:M/Au:S/C:P/I:N/A:N
- EPSS: 0.896%, percentile 60.8%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine synapse (Alpine Linux): \< 1.41.1-r0
- debian matrix-synapse (Debian): \< 1.41.1-1
- ubuntu matrix-synapse (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 34 \| 35
- matrix-org synapse: \< 1.41.1
- matrix synapse: \< 1.41.1
- PyPI matrix-synapse (PyPI): \< cb35df940a828bc40b96daed997b5ad4c7842fd3 \| \< 1.41.1

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2>
- <https://github.com/matrix-org/synapse/commit/cb35df940a>
- <https://github.com/matrix-org/synapse/releases/tag/v1.41.1>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39163>
- <https://github.com/matrix-org/synapse>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-424.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/>
- <https://ubuntu.com/security/CVE-2021-39163>
- <https://github.com/matrix-org/synapse/commit/cb35df940a828bc40b96daed997b5ad4c7842fd3>
- <https://www.cve.org/CVERecord?id=CVE-2021-39163>
- <https://security-tracker.debian.org/tracker/CVE-2021-39163>
- <https://security.alpinelinux.org/vuln/CVE-2021-39163>

---

Data as of 2026-12-05T06:27:13.085Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
