CVE-2020-26890: 
Python vulnerability analysis and mitigation

Overview

CVE-2020-26890 affects Matrix Synapse versions before 1.20.0. The vulnerability was discovered in November 2020 and allows remote attackers to execute a denial of service attack by exploiting improper handling of non-standard JSON values (NaN, Infinity, and -Infinity) in m.room.member events (Matrix Advisory).

Technical details

The vulnerability stems from Matrix Synapse erroneously permitting non-standard JSON values (NaN, Infinity, and -Infinity) in fields of m.room.member events. The issue is tracked with CVSS v3.1 Base Score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating a high-severity vulnerability with network access vector and no required privileges or user interaction (NVD).

Impact

If a malformed event is accepted into the room's state, the impact is long-lasting and persists even after upgrading to a newer version. Since events are replicated to servers of other room members, the impact extends beyond the server of the event sender, potentially affecting the federation and common Matrix clients (Matrix Advisory).

Exploitability

The vulnerability can be exploited remotely by sending malformed JSON data to Synapse. The attack requires no special privileges or user interaction, making it relatively easy to exploit. The malformed event, once accepted, becomes part of the room state and requires manual redaction to fix (NVD).

Mitigation and workarounds

The vulnerability was patched in Matrix Synapse version 1.20.0. If an invalid event has already been accepted into the room state, upgrading alone will not fix the issue - the event must be manually redacted. The fix required applying patches #8106 and #8291, with additional checks included in #7372 and #8124 (Matrix Advisory).

Additional resources


Source: This report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-108258MEDIUM6.9
  • Python logoPython
  • shiny
NoYesOct 09, 2026
CVE-2026-48484MEDIUM6.5
  • Python logoPython
  • pyload-ng
NoYesOct 09, 2026
GHSA-p3pr-8f3m-4qp8MEDIUM6.4
  • Python logoPython
  • pyload-ng
NoNoOct 09, 2026
CVE-2026-107841MEDIUM5.7
  • Python logoPython
  • pacioli-guard
NoYesOct 09, 2026
CVE-2026-75597MEDIUM5.3
  • Python logoPython
  • pyload-ng
NoYesOct 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management