CVE-2026-45057
published medium CVSS 3.1 · 4.9matrix-sdk-ui: Incomplete edit validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | matrix-sdk-ui< 0.16.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | matrix-sdk-ui | < 0.16.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
4Provider assertions
2GitHub_M · cna
matrix-sdk-ui: Incomplete edit validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36cbdb8463ec9fd3cbc08b47cd4b94113088a85b89149d14efbe1c65f3f15680
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record