Read the docs
TI-2026-32906 Aliases CVE-2026-45057GHSA-h97m-27fx-42rx

matrix-sdk-ui: Incomplete edit validation

Priority LOW 22CWE-345Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00233 14th percentileScored 2026-11-07
Fix Fixed matrix-sdk-ui (matrix-org): 0.16.1matrix-sdk-ui (crates.io): 0.16.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
matrix-orgmatrix-sdk-uibefore 0.16.10.16.1Patch availableCNA
—matrix-sdk-ui (crates.io)before 0.16.10.16.1Patch availableGHSA-h97m-27fx-42rx
  • matrix-sdk-ui Vendormatrix-org Affected before 0.16.1 Fixed in 0.16.1 Patch available CNA
  • matrix-sdk-ui (crates.io) Vendor— Affected before 0.16.1 Fixed in 0.16.1 Patch available GHSA-h97m-27fx-42rx

Remediation

  • Fix · CNA matrix-sdk-ui (matrix-org) Fixed in 0.16.1
  • Fix · GHSA-h97m-27fx-42rx matrix-sdk-ui (crates.io) Fixed in 0.16.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45057
  2. 2026-10-03 Alias added: GHSA-h97m-27fx-42rx

References

  • TI-2023-20035 Sydent does not verify email server certificates CVSS 3.1CRITICAL 9.3
  • TI-2026-45046 Dendrite 0.13.8 SSRF via Unauthenticated Legacy Media Download Endpoint CVSS 4.0MEDIUM 6.9
  • TI-2026-45045 Dendrite 0.13.8 Improper Authorization via POST account/3pid/delete Endpoint CVSS 4.0HIGH 7.1
  • TI-2026-45047 Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure CVSS 4.0MEDIUM 5.3
  • TI-2023-15617 Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites CVSS 3.1MEDIUM 5.0
  • TI-2023-20039 matrix-appservice-irc IRC command injection via admin commands containing newlines CVSS 3.1CRITICAL 9.8
See all 115 →

Sources