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

CVE-2026-45056: Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution

June 4, 2026

The matrix-sdk-crypto crate before 0.16.1 is missing a check for the sender’s user ID when decrypting an Olm-encrypted to-device message containing the sender_device_keys property.

This could be exploited to spoof the sender of an encrypted to-device message, but only if the attacker colludes with (or is) the homeserver operator.

References

  • github.com/advisories/GHSA-wfq4-36m3-9g42
  • github.com/matrix-org/matrix-rust-sdk/pull/6553
  • github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1
  • github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42
  • nvd.nist.gov/vuln/detail/CVE-2026-45056
  • rustsec.org/advisories/RUSTSEC-2026-0159.html

Code Behaviors & Features

Detect and mitigate CVE-2026-45056 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 starting from 0.12.0 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-290: Authentication Bypass by Spoofing

Source file

cargo/matrix-sdk-crypto/CVE-2026-45056.yml

Spotted a mistake? Edit the file on GitLab.

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

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