原始 OSV JSON{
"id": "GHSA-wfq4-36m3-9g42",
"aliases": [
"CVE-2026-45056"
],
"details": "### Impact\n\nThe `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.\n\nThis 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.\n\n### Patches\n\nThis issue is fixed in `matrix-sdk-crypto` 0.16.1.\n\n### Workarounds\n\nThere are no known workarounds for the issue.\n\n### References\n\nThis issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/6553.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please email us at [security at matrix.org](mailto:[email protected] ).",
"summary": "Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.12.0"
},
{
"fixed": "0.16.1"
}
]
}
],
"package": {
"name": "matrix-sdk-crypto",
"ecosystem": "crates.io"
}
}
],
"modified": "2026-06-04T14:47:05Z",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"published": "2026-06-04T14:47:05Z",
"references": [
{
"url": "https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42",
"type": "WEB"
},
{
"url": "https://github.com/matrix-org/matrix-rust-sdk/pull/6553",
"type": "WEB"
},
{
"url": "https://github.com/matrix-org/matrix-rust-sdk",
"type": "PACKAGE"
},
{
"url": "https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0159.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-290"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-06-04T14:47:05Z"
}
}