Live threats

All CVEs / Matrix

CVE-2023-38686Matrix Sydent

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 17
Auth required
No
Published
Aug 4, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Sydent is an identity server for the Matrix communications protocol. Prior to version 2.5.6, if configured to send emails using TLS, Sydent does not verify SMTP servers' certificates. This makes Sydent's emails vulnerable to interception via a man-in-the-middle (MITM) attack. Attackers with privileged access to the network can intercept room invitations and address confirmation emails. This is patched in Sydent 2.5.6. When patching, make sure that Sydent trusts the certificate of the server it is connecting to. This should happen automatically when using properly issued certificates. Those who use self-signed certificates should make sure to copy their Certification Authority certificate, or their self signed certificate if using only one, to the trust store of your operating system. As a workaround, one can ensure Sydent's emails fail to send by setting the configured SMTP server to a loopback or non-routable address under one's control which does not have a listening SMTP server.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sydent.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-sydent < 2.5.6 2.5.6 pip install "matrix-sydent>=2.5.6"
PyPI matrix-sydent < 2.5.6 2.5.6 pip install "matrix-sydent>=2.5.6"

Per OSV / GitHub Advisories (GHSA-p6hw-wm59-3g5g, PYSEC-2023-139). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsydent< 2.5.6

Official sources

References

Links published by the sources. Open them with care.