CVE-2026-45057
Published:June 09, 2026
Updated:June 09, 2026
Impact The message edit validation logic in the "matrix-sdk-ui" crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator (or an actor with equivalent power) to impersonate or spoof messages as if they were sent by a victim user. Patches "matrix-sdk-ui" 0.16.1 fixes the message edit validation logic to align with the algorithm for replacement events"^1" (https://spec.matrix.org/unstable/client-server-api/#validity-of-replacement-events) described in the Matrix specification. Workarounds N/A References * Pull request: https://github.com/matrix-org/matrix-rust-sdk/pull/6454 For more information If you have any questions or comments about this advisory, please email us at "security at matrix.org" (mailto:security@matrix.org).
Affected Packages
https://github.com/matrix-org/matrix-rust-sdk.git (GITHUB):
Affected version(s) >=matrix-sdk-ui-0.8.0 <matrix-sdk-ui-0.16.1Fix Suggestion:
Update to version matrix-sdk-ui-0.16.1matrix-sdk-ui (RUST):
Affected version(s) >=0.7.0 <0.16.1Fix Suggestion:
Update to version 0.16.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Insufficient Verification of Data Authenticity