CVE-2026-45057matrix-org matrix-sdk-ui
Medium 4.9
Follow: this CVE · matrix-org · matrix-org matrix-sdk-ui We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.9
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 11, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for matrix-sdk-ui.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | matrix-sdk-ui |
< 0.16.1 |
0.16.1 |
cargo update -p matrix-sdk-ui --precise 0.16.1 |
| crates.io | matrix-sdk-ui |
≥ 0.0.0-0 < 0.16.1 |
0.16.1 |
cargo update -p matrix-sdk-ui --precise 0.16.1 |
Per OSV / GitHub Advisories (GHSA-h97m-27fx-42rx, RUSTSEC-2026-0158). Check the version in your lockfile before upgrading.
Affected products
- matrix-org · matrix-sdk-ui
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.