{"cve":"CVE-2026-45057","nvd":{"published":"2026-09-11T21:17:09.517","modified":"2026-09-30T19:57:08.043","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-345"],"references":["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://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx","https://rustsec.org/advisories/RUSTSEC-2026-0158.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-45057","score":0.00233,"percentile":0.14017,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-h97m-27fx-42rx","url":"https://osv.dev/vulnerability/GHSA-h97m-27fx-42rx","summary":"matrix-sdk-ui: Incomplete edit validation","modified":"2026-06-04T15:00:08.147473159Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk-ui","purl":"pkg:cargo/matrix-sdk-ui","ranges":["<0.16.1"],"fixed":["0.16.1"]}]},{"id":"RUSTSEC-2026-0158","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0158","summary":"Incomplete message edit validation in matrix-sdk-ui","modified":"2026-10-12T18:00:14.300850042Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk-ui","purl":"pkg:cargo/matrix-sdk-ui","ranges":[">=0.0.0-0 <0.16.1"],"fixed":["0.16.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}