Improper handling of exceptional conditions in Synapse - #VU139989

 

Improper handling of exceptional conditions in Synapse - #VU139989

Published: July 29, 2026


Vulnerability identifier: #VU139989
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-755
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Synapse

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a client to act as though it has logged out and destroy its cryptographic state.

The vulnerability exists due to improper error handling in Synapse federation request handling when processing client-issued requests concerning remote users or remote rooms, or messages in rooms moderated by a malicious policy server. A remote attacker can operate a malicious homeserver or policy server that returns 401 unauthorized federation responses to cause a client to act as though it has logged out and destroy its cryptographic state.

Homeservers that do not federate or only participate in a closed, trusted federation are not affected. If recovery mechanisms are unavailable, encrypted message history can be irreversibly lost.


Remediation

Install security update from vendor's website.

Sources