Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. matrix-sdk-ui
  4. ›
  5. CVE-2026-45057

CVE-2026-45057: matrix-sdk-ui: Incomplete edit validation

June 4, 2026

The message edit validation logic in the matrix-sdk-ui crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator (or an actor with equivalent power) to impersonate or spoof messages as if they were sent by a victim user.

References

  • github.com/advisories/GHSA-h97m-27fx-42rx
  • github.com/matrix-org/matrix-rust-sdk/pull/6454
  • github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1
  • github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-h97m-27fx-42rx
  • nvd.nist.gov/vuln/detail/CVE-2026-45057
  • rustsec.org/advisories/RUSTSEC-2026-0158.html

Code Behaviors & Features

Detect and mitigate CVE-2026-45057 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.16.1

Fixed versions

  • 0.16.1

Solution

Upgrade to version 0.16.1 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

cargo/matrix-sdk-ui/CVE-2026-45057.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.