Intel

AIKIDO-2026-598356

matrix-synapse is vulnerable to Improper Handling of Exceptional Conditions

CVE-2026-102543Published Jul 30, 2026
July 30, 2026

76

CVE Score

High

Improper Handling of Exceptional Conditions

Are you affected? Scan for Free

TL;DR

For some client requests concerning remote users or rooms belonging to a malicious homeserver, Synapse makes federation requests and forwards the received errors directly back to the client. A malicious homeserver can return an unauthorized error that makes the client believe its own access token is invalid, causing it to log out and destroy its cryptographic state. Users without another client or key backup can irreversibly lose encrypted message history. The fix rewrites forwarded upstream errors and forbids the sensitive token errcode from being relayed.

How do I fix this?

Upgrade the matrix-synapse library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your homeserver participates in open federation.

Versions

0.0.1 - 1.157.1

Fixed in 1.157.2

Background info

matrix-synapse is vulnerable to Improper Handling of Exceptional Conditions in versions 0.0.1 - 1.157.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea