# CVE-2018-12291

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.31.1 (CNA); fix release not confirmed
- Status: published
- Published: 2018-06-13 · Modified: 2024-09-17
- Aliases: GHSA-v8wm-g9f2-xjv4, PYSEC-2026-664, UBUNTU-CVE-2018-12291, DEBIAN-CVE-2018-12291
- Record: https://cvemate.com/vulnerability/CVE-2018-12291 · JSON: https://cvemate.com/vulnerability/CVE-2018-12291/json

## Description

```text
The on_get_missing_events function in handlers/federation.py in Matrix Synapse before 0.31.1 has a security bug in the get_missing_events federation API where event visibility rules were not applied correctly.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.792%, percentile 79.148%, 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

- debian matrix-synapse (Debian): \< 0.31.1+dfsg-1
- ubuntu matrix-synapse (Ubuntu): \< 0.24.0+dfsg-1ubuntu0.1~esm1
- matrix synapse: \< 0.31.1
- PyPI matrix-synapse (PyPI): \< 0.31.1

## References

- <https://github.com/matrix-org/synapse/releases/tag/v0.31.1>
- <https://github.com/matrix-org/synapse/pull/3371>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-12291>
- <https://github.com/matrix-org/synapse/commit/0834b49c6a9b6c597a154d4b2dfcf8fff90699ec>
- <https://github.com/matrix-org/synapse>
- <https://pypi.org/project/matrix-synapse>
- <https://github.com/advisories/GHSA-v8wm-g9f2-xjv4>
- <https://ubuntu.com/security/CVE-2018-12291>
- <https://ubuntu.com/security/notices/USN-6076-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-12291>
- <https://security-tracker.debian.org/tracker/CVE-2018-12291>

---

Data as of 2026-12-05T06:26:17.757Z. 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
