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.
CVE-2026-45057
This medium-severity CVE scores 4.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 95% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.9
- EG Score
- 4.9(medium)
- EG Risk
- 22(Track)EG Risk 22/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity49% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 5%
- KEV
- Not listed
Published
June 4, 2026
Last Modified
September 14, 2026
Advisory Details (4)
Auto-updated Sep 11, 2026RUSTSEC-2026-0158: matrix-sdk-ui: Incomplete message edit validation in matrix-sdk-ui › RustSec Advisory Database
https://rustsec.org/advisories/RUSTSEC-2026-0158.htmlmatrix-sdk 0.16.1
Patch available: matrix-org/matrix-rust-sdk matrix-sdk-0.16.1
https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1Better edit validation and don't apply invalid edits in the latest event
Patch available: matrix-org/matrix-rust-sdk matrix-sdk-0.17.0 (PR #6454 merged 2026-04-17)
https://github.com/matrix-org/matrix-rust-sdk/pull/6454Incomplete message edit validation · Advisory · matrix-org/matrix-rust-sdk · GitHub
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rxVendor Advisories for CVE-2026-45057(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| matrix-sdk-ui | — | 0.16.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-14 18:09 UTCEG score recompute
- 2026-09-14 16:36 UTCEG score recompute
- 2026-09-14 05:23 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 21:24 UTCEG score recompute
- 2026-07-31 05:26 UTCEG score recompute
- 2026-07-26 22:16 UTCEG score recompute
- 2026-07-23 03:16 UTCEG score recompute
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-04 15:10 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-45057?
When was CVE-2026-45057 disclosed?
Is CVE-2026-45057 actively exploited?
What is the CVSS score of CVE-2026-45057?
How do I remediate CVE-2026-45057?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45057
Is Your Infrastructure Affected by CVE-2026-45057?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.