{"id":"CVE-2026-45057","revision":"3fc95e923a084b7e9b13cba0ae957d50","records":[{"revision":"3fc95e923a084b7e9b13cba0ae957d50","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45057","aliases":[],"title":"matrix-sdk-ui: Incomplete edit validation","description":"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.","state":0,"publishedAt":"2026-09-11T21:12:17.797+00:00","modifiedAt":"2026-09-14T16:18:19.287+00:00","affected":[{"ecosystem":"Vendor product","name":"matrix-sdk-ui","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"matrix-org\",\n                    \"product\": \"matrix-sdk-ui\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.16.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"severity":"MEDIUM"}],"references":["https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx","https://github.com/matrix-org/matrix-rust-sdk/pull/6454","https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","https://rustsec.org/advisories/RUSTSEC-2026-0158.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45057","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45057","identifiers":["CVE-2026-45057"]},"retained":false,"historicalAffected":[]}],"coverage":[]}