CVE-2026-45056

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

State
Published
Severity
6.9 Medium
Published
Sep 11, 2026
Updated
Sep 14, 2026
Reserved
May 8, 2026

Read the record on cve.org

Description

matrix-sdk-crypto is a no-network-IO implementation of a state machine that handles end-to-end encryption for Matrix clients. Starting in version 0.12.0 and prior to version 0.17.0, the matrix-sdk-crypto crate was missing a check for the user ID when decrypting an Olm-encrypted event containing the `sender_device_keys` property. This could be exploited to forge an encrypted to-device event, but only if the attacker colludes with the homeserver operator. This issue is fixed in matrix-sdk-crypto 0.17.0. There are no known workarounds for the issue.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-290 Authentication Bypass by Spoofing

Affected Products

ProductVersions
matrix-rust-sdkmatrix-org
  • >= 0.12.0, < 0.16.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.