{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45057","id":"CVE-2026-45057","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 we","descriptionLong":"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":"2026-09-11T21:12:17.797Z","updated":"2026-11-04T02:47:34.995499670Z","reserved":"2026-05-08T18:07:27.342Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["matrix-org matrix-sdk-ui"],"affectedProducts":[{"vendor":"matrix-org","product":"matrix-sdk-ui","defaultStatus":null,"versions":[{"version":"< 0.16.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"matrix-sdk-ui","purl":"pkg:cargo/matrix-sdk-ui","ranges":["<0.16.1",">=0.0.0-0 <0.16.1"],"fixed":["0.16.1"],"advisory":"GHSA-h97m-27fx-42rx"}],"cwes":["CWE-345"],"aliases":["GHSA-h97m-27fx-42rx","RUSTSEC-2026-0158"],"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6454","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","tags":["x_refsource_MISC","web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0158.html","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45057.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45057","tags":["advisory"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk","tags":["package"]},{"url":"https://crates.io/crates/matrix-sdk-ui","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00233,"epssPercentile":0.1432,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45057","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45057","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45057","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h97m-27fx-42rx","ok":true,"note":"GHSA-h97m-27fx-42rx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45057","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}