Federated invites from Synapse (and other servers) are rejected in v26.6.1 onwards #1971

Open
opened 2026-07-12 14:04:39 +00:00 by nex · 1 comment
Owner

A year ago, Matrix introduced new validation rules for federated invites, to improve security. Versions prior to v26.6.1 did not enforce these, and also did not correctly send the new event format. As a result, invites from the following servers are now rejected, as they are sending malformed data (per these new rules):

  • Synapse (all versions)
  • Continuwuity (v26.6.0 and below)
  • Tuwunel (v1.7.1 and below)
  • Dendrite (all versions)
  • Conduit (v0.10.8 and below)

If someone is using one of the above servers and cannot send you an invite, you should inform them they should update their server.

Relevant Synapse pull request: https://github.com/element-hq/synapse/pull/19723

The current workaround for this is not upgrading to 26.6.1. There is an unsafe patch that makes enforcement of the new rules optional in #2072, however you forgo all security benefits by using this, and will not receive support.

Important

This is not a bug in Continuwuity - this issue is being opened for easier reference until the upstream issue is resolved.


Error messages to improve issue discoverability:

  • PDU in invite state (index 0) violates the room event format
  • PDU in invite state (index 1) violates the room event format
  • Invite state event is not a PDU
A year ago, Matrix introduced new validation rules for federated invites, to improve security. Versions prior to v26.6.1 did not enforce these, and also did not correctly send the new event format. As a result, invites **from** the following servers are now rejected, as they are sending malformed data (per these new rules): - Synapse (all versions) - Continuwuity (v26.6.0 and below) - Tuwunel (v1.7.1 and below) - Dendrite (all versions) - Conduit (v0.10.8 and below) If someone is using one of the above servers and cannot send you an invite, you should inform them they should update their server. Relevant Synapse pull request: https://github.com/element-hq/synapse/pull/19723 The current workaround for this is not upgrading to 26.6.1. There is an unsafe patch that makes enforcement of the new rules optional in #2072, however you forgo all security benefits by using this, and will not receive support. > [!important] > **This is not a bug in Continuwuity** - this issue is being opened for easier reference until the upstream issue is resolved. --- Error messages to improve issue discoverability: - `PDU in invite state (index 0) violates the room event format` - `PDU in invite state (index 1) violates the room event format` - `Invite state event is not a PDU`
Author
Owner

A temporary workaround has been pushed to an out-of-tree branch: #2072. This will not be included in the mainline software. Please please please read the big bold words that tell you how insecure it is to use this compatibility branch.

A temporary workaround has been pushed to an out-of-tree branch: #2072. This will not be included in the mainline software. Please please please read the big bold words that tell you how insecure it is to use this compatibility branch.
nex changed title from Invites from Synapse are rejected in v26.6.1 onwards to Federated invites from Synapse (and other servers) are rejected in v26.6.1 onwards 2026-08-09 14:46:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#1971
No description provided.