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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2021-08-31T16:00:11.000Z
- Modified: 2026-07-08T06:29:05.866Z
- Also known as: GHSA-jj53-8fmw-f2w2, PYSEC-2021-424
- Weaknesses: CWE-200, CWE-863
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- matrix-org synapse: < 1.41.1
- matrix-synapse (PyPI): before 1.41.1; before cb35df940a828bc40b96daed997b5ad4c7842fd3
- matrix synapse: before 1.41.1
- fedoraproject fedora: 34; 35

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2> (advisory, mitigation, third-party-advisory, web)
- <https://github.com/matrix-org/synapse/commit/cb35df940a> (fix, patch, third-party-advisory, web)
- <https://github.com/matrix-org/synapse/releases/tag/v1.41.1> (release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39163> (advisory)
- <https://github.com/matrix-org/synapse> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2021-424.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXT7ID7DNBRN2TVTETU3SYQHJKEG6PXN/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VHDEPCZ22GJFMZCWA2XZAGPOEV72POF/> (web)

## Sources

- CVE List: [CVE-2021-39163](https://www.cve.org/CVERecord?id=CVE-2021-39163), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jj53-8fmw-f2w2](https://github.com/advisories/GHSA-jj53-8fmw-f2w2), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39163](https://nvd.nist.gov/vuln/detail/CVE-2021-39163), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-424](https://osv.dev/vulnerability/PYSEC-2021-424), CC-BY-4.0, modified 2026-02-26

---

Page: https://cve.day/CVE-2021-39163 · Whole record: https://cve.day/CVE-2021-39163.json · Rebuilt by cve.day 2026-11-25T22:58:03.577Z
