CVE-2026-45057

MEDIUM4.9

Incomplete message edit validation in matrix-sdk-ui

Published: 6/4/2026Modified: 6/4/2026
Also known as:GHSA-h97m-27fx-42rxRUSTSEC-2026-0158

Description

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

References (6)