CVE-2026-45056 Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
MediumCVSS 6.9
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io matrix-sdk-crypto(crates.io) | >= 0.12.0, < 0.16.1 | 0.16.1 | Fixed |
| matrix-org matrix-rust-sdk | = >= 0.12.0, < 0.16.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| matrix-org matrix-rust-sdk | = >= 0.12.0, < 0.16.1 | No fix listed |
| crates.io matrix-sdk-crypto(crates.io) | >= 0.12.0, < 0.16.1 | 0.16.1 |
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42 vendor-advisory
- https://github.com/matrix-org/matrix-rust-sdk/pull/6553 patch
- https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1
- https://rustsec.org/advisories/RUSTSEC-2026-0159.html vendor-advisory
- github.com product
- crates.io product
- github.com
- ENISA EUVD EUVD-2026-76763 third-party-advisory