{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-45057","published":"2026-09-11T21:17:09.517000Z","last_modified":"2026-09-30T19:57:08.043000Z","status":"Deferred","cvss":{"version":"3.1","score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-345"],"cpes":[],"cpes_truncated":false,"vendors":["matrix-org"],"products":["matrix-org/matrix-sdk-ui"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h97m-27fx-42rx","ecosystem":"crates.io","name":"matrix-sdk-ui","purl":"pkg:cargo/matrix-sdk-ui","ranges":[{"introduced":"0","fixed":"0.16.1"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2026-0158","ecosystem":"crates.io","name":"matrix-sdk-ui","purl":"pkg:cargo/matrix-sdk-ui","ranges":[{"introduced":"0.0.0-0","fixed":"0.16.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2026-45057/","html_en":"/en/cve/CVE-2026-45057/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45057","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45057"},"untrusted":{"vendor_name":"matrix-org","product_name":"matrix-sdk-ui","desc_en":"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.","affected":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-sdk-ui","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6454","tags":[]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","tags":[]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx","tags":[]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0158.html","tags":[]}]}}