Federated invites from Synapse (and other servers) are rejected in v26.6.1 onwards #1971
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1971
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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):
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.
Error messages to improve issue discoverability:
PDU in invite state (index 0) violates the room event formatPDU in invite state (index 1) violates the room event formatInvite state event is not a PDUeleboucher referenced this issue2026-07-14 17:20:27 +00:00
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.
Invites from Synapse are rejected in v26.6.1 onwardsto Federated invites from Synapse (and other servers) are rejected in v26.6.1 onwards