{"id":"GHSA-h97m-27fx-42rx","revision":null,"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":[]},{"revision":"d6036c749c274541b54d7df91e00dd77","observedAt":"2026-11-09T14:05:28.185+00:00","statement":{"source":"euvd","id":"EUVD-2026-76764","aliases":["CVE-2026-45057","GHSA-h97m-27fx-42rx"],"title":"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 n…","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":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD 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":null}],"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://euvd.enisa.europa.eu/vulnerability/EUVD-2026-76764","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 11, 2026, 9:12:17 PM","dateUpdated":"Sep 14, 2026, 4:18:19 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-76764","identifiers":["EUVD-2026-76764","CVE-2026-45057","GHSA-h97m-27fx-42rx"]},"retained":false,"historicalAffected":[]},{"revision":"ed39663fdf934b01943097758139e6c8","observedAt":"2026-10-25T10:17:33.838+00:00","statement":{"source":"nvd","id":"CVE-2026-45057","aliases":[],"title":"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 n…","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:17:09.517+00:00","modifiedAt":"2026-09-30T19:57:08.043+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","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/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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45057","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-345"],"productCriteria":[],"sourceDates":{"published":"2026-09-11T21:17:09.517","lastModified":"2026-09-30T19:57:08.043"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-45057","identifiers":["CVE-2026-45057"]},"retained":false,"historicalAffected":[]},{"revision":"76cbb928a56d4d6a948f15b1de9eb1d0","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-h97m-27fx-42rx","aliases":["CVE-2026-45057","RUSTSEC-2026-0158"],"title":"matrix-sdk-ui: Incomplete edit validation","description":"### Impact\nThe message edit validation logic in the  `matrix-sdk-ui` crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator (or an actor with equivalent power) to impersonate or spoof messages as if they were sent by a victim user.\n\n### Patches\n`matrix-sdk-ui` 0.16.1 fixes the message edit validation logic to align with the algorithm for replacement events[^1] described in the Matrix specification.\n\n### Workarounds\nN/A\n\n### References\n* Pull request: https://github.com/matrix-org/matrix-rust-sdk/pull/6454\n\n### For more information\nIf you have any questions or comments about this advisory, please email us at [security at matrix.org](mailto:security@matrix.org).\n\n[^1]: https://spec.matrix.org/unstable/client-server-api/#validity-of-replacement-events","state":0,"publishedAt":"2026-06-04T14:50:47+00:00","modifiedAt":"2026-06-04T15:00:08.1474732+00:00","affected":[{"ecosystem":"crates.io","name":"matrix-sdk-ui","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.16.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"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","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://github.com/advisories/GHSA-h97m-27fx-42rx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h97m-27fx-42rx","identifiers":["GHSA-h97m-27fx-42rx","CVE-2026-45057","RUSTSEC-2026-0158"]},"retained":false,"historicalAffected":[]},{"revision":"19917b627170465a9c6b810270b9b2b3","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0158","aliases":["CVE-2026-45057","GHSA-h97m-27fx-42rx"],"title":"Incomplete message edit validation in matrix-sdk-ui","description":"The message edit validation logic in the matrix-sdk-ui crate before 0.16.1 is\nmissing a check: when replacing an encrypted event, the replacement event itself\nis not required to be encrypted. This enables a malicious homeserver\nadministrator (or an actor with equivalent power) to impersonate or spoof\nmessages as if they were sent by a victim user.","state":0,"publishedAt":"2026-06-03T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:14.30085+00:00","affected":[{"ecosystem":"crates.io","name":"matrix-sdk-ui","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.16.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null}],"references":["https://crates.io/crates/matrix-sdk-ui","https://rustsec.org/advisories/RUSTSEC-2026-0158.html","https://github.com/matrix-org/matrix-rust-sdk/pull/6454"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0158","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0158","identifiers":["RUSTSEC-2026-0158","CVE-2026-45057","GHSA-h97m-27fx-42rx"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-11T10:57:37.6316309+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T10:57:37.6316309+00:00","lastSuccessAt":"2026-11-11T10:57:37.7940559+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.7940585+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-b61703aa7a8a8776341875d56ae04881d75cb51c03ebed7341566c1aac4b78f3","complete":true,"records":424026,"lastAttemptAt":"2026-11-11T10:57:30.8429465+00:00","lastSuccessAt":"2026-11-11T10:57:30.772003+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:30.8429465+00:00","snapshotPublishedAt":"2026-11-11T10:28:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-51fe477371604915b3d68ded9f0b35a4","complete":false,"records":13758,"lastAttemptAt":"2026-11-11T11:09:21.2288374+00:00","lastSuccessAt":"2026-11-11T11:09:21.223+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:09:21.223+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13518,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-11T10:57:37.6316309+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T10:57:37.6316309+00:00","lastSuccessAt":"2026-11-11T10:57:37.7955954+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.7955973+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-622dd4c770014d0cabbdd0941fabd46f","complete":true,"records":13752,"lastAttemptAt":"2026-11-11T10:57:38.8624284+00:00","lastSuccessAt":"2026-11-11T10:57:38.856+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:38.856+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13812,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T10:57:31.188043+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:31.188043+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T10:57:30.9764176+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:30.9764176+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b178858a6ba5f2e20262964fa29d9573839d1b8b735abe524cc7d061ebde5c37","complete":true,"records":3088,"lastAttemptAt":"2026-11-11T10:57:37.5961627+00:00","lastSuccessAt":"2026-11-11T10:57:37.4490966+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.5961627+00:00","snapshotPublishedAt":"2026-11-11T10:48:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-085e065fc9050ae18408f7e722c39653aeb186872334d7b3ec1fcafb7ed43d25","complete":true,"records":231665,"lastAttemptAt":"2026-11-11T10:57:31.0815536+00:00","lastSuccessAt":"2026-11-11T08:27:45.2700102+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:31.0815536+00:00","snapshotPublishedAt":"2026-11-11T07:32:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}