{"id":"CVE-2026-45057","published":"2026-09-11T21:12:17Z","modified":"2026-09-14T16:18:19Z","title":"matrix-sdk-ui: Incomplete edit validation","vendor":"matrix-org","product":"matrix-sdk-ui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00233,"percentile":0.08508,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6454","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","tags":["x_refsource_MISC"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0158.html","tags":["x_refsource_MISC"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-sdk-ui","versions":["< 0.16.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-14T16:16:05.439558Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"matrix-sdk-ui","vulnerableRanges":["<0.16.1",">=0.0.0-0, <0.16.1"],"patched":["0.16.1"],"from":["GHSA-h97m-27fx-42rx","RUSTSEC-2026-0158"],"provenance":"source"}],"summary":{"text":"The matrix-sdk-ui crate, a GUI-oriented utility layer built on matrix-rust-sdk, fails to enforce that an edit replacing an encrypted message is itself encrypted, a gap in its message edit validation logic. An attacker who controls the homeserver or holds equivalent administrative power, with no user interaction required, can use this to spoof edited messages so they appear to come from a victim user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:09Z"},"euvd":{"id":"EUVD-2026-76764","exploited":false,"provenance":"source"}}