Skip to content
RedCVE

CVE-2026-45057Matrix Org Matrix-sdk-ui insufficient verification of data authenticity

matrix-orgPublished:

CVSS score

4.9

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.23%

0.23% chance of exploitation in the next 30 days, higher than 14.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running matrix-org Matrix-sdk-ui and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Matrix-sdk-ui to 0.16.1 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Affected products

Affected productsVersions
matrix-org Matrix-sdk-ui< 0.16.1

Weakness

  • CWE-345 insufficient verification of data authenticity

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-45057 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-45057?

CVE-2026-45057 has a CVSS 3.1 base score of 4.9 (medium).

Which versions are affected?

Matrix Org Matrix-sdk-ui (< 0.16.1)

Is there a patch for CVE-2026-45057?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.