BreachSpiderVerified, not vibes

CVE-2023-38686 in Matrix Sydent

Medium 5.3

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
EPSS0.3%
EPSS percentile17th
FixUnknown

Exploitable from adjacent network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Matrix Sydent < 2.5.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-38686
BreachSpider IDBS-2023-GLOBAL-006649-M
CVSS vectorCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2023-08-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-295: CWE-295

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295

CAPEC-475 Signature Spoofing by Improper Validation via CWE-295

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Sydent, an identity server for the Matrix communications protocol, prior to version 2.5.6, is vulnerable to man-in-the-middle (MITM) attacks when configured to send emails using TLS due to a lack of SMTP server certificate verification.

Attackers with network-level access can intercept emails sent by Sydent, such as room invitations and address confirmation emails, by exploiting the lack of certificate verification for SMTP servers.

Questions

What is CVE-2023-38686?

Sydent, an identity server for the Matrix communications protocol, prior to version 2.5.6, is vulnerable to man-in-the-middle (MITM) attacks when configured to send emails using TLS due to a lack of SMTP server certificate verification.

What is the CVSS score for CVE-2023-38686?

CVE-2023-38686 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.3%.

Is CVE-2023-38686 actively exploited?

No confirmed active exploitation of CVE-2023-38686 as of 2026-09-25.

How do I remediate CVE-2023-38686?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2023-38686?

CVE-2023-38686 affects Matrix Sydent.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Matrix","product":"Sydent","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.