Security mailing lists by PureSourceCode

CVE-2026-45057

MEDIUM 4.9CVSS 3.1

matrix-sdk-ui: Incomplete edit validation

matrix-sdk-ui provides GUI-centric utilities on top of matrix-rust-sdk. The message edit validation logic in the matrix-sdk-ui crate prior to 0.17.0 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrators (or actors with equivalent power) to impersonate or spoof messages as if they were sent by a victim user. matrix-sdk-ui 0.17.0 fixes the message edit validation logic to align with the algorithm for replacement events[^1] described in the Matrix specification. No known workarounds are available.

Published
11 Sep 2026
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-345
Also known as
GHSA-h97m-27fx-42rxRUSTSEC-2026-0158
Sources
NVDJSONOSV GHSA-h97m-27fx-42rxJSONOSV RUSTSEC-2026-0158JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
OSV RustSec CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io matrix-sdk-ui < 0.16.1 0.16.1
OSV crates.io matrix-sdk-ui >= 0.0.0-0, < 0.16.1 0.16.1

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 11 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.