CVE-2021-39163Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.
- 3.1LowCVSS base score
- 0.90%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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`.
Timeline
ID reserved
By GitHub_M
- 15 days later
· 15 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.90% · top 40% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.1.
Affected products
- affected < 1.41.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImatrix-synapseGHSA-jj53-8fmw-f2w2 (opens in a new tab)
References
References5
- https://github.com/matrix-org/synapse/security/advisories/GHSA-jj53-8fmw-f2w2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/matrix-org/synapse/commit/cb35df940a (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/matrix-org/synapse/releases/tag/v1.41.1 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-2e8ed15b14 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-f12fdca1bf (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0131 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jj53-8fmw-f2w2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-39163)Record last updated .