Advisory

PYSEC-2026-2620

Also known as: CVE-2019-11842, GHSA-gwf7-vfjf-wf6x, PYSEC-2019-185

Summary

matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG

Details

An issue was discovered in Matrix Sydent before 1.0.3 and Synapse before 0.99.3.1. Random number generation is mishandled, which makes it easier for attackers to predict a Sydent authentication token or a Synapse random ID.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-09 16:49 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

matrix-sydent

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.3 (ecosystem)

Fixed versions

1.0.3

Fix

  • Fixed version 1.0.3
    pip install --upgrade matrix-sydent==1.0.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences