Skip to content

Commit 6ab0742

Browse files
1 parent 79acc8e commit 6ab0742

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-wfq4-36m3-9g42",
4+
"modified": "2026-06-04T14:47:05Z",
5+
"published": "2026-06-04T14:47:05Z",
6+
"aliases": [
7+
"CVE-2026-45056"
8+
],
9+
"summary": "Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution",
10+
"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:security@matrix.org).",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "crates.io",
21+
"name": "matrix-sdk-crypto"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0.12.0"
29+
},
30+
{
31+
"fixed": "0.16.1"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/matrix-org/matrix-rust-sdk/pull/6553"
46+
},
47+
{
48+
"type": "PACKAGE",
49+
"url": "https://github.com/matrix-org/matrix-rust-sdk"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0159.html"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-290"
63+
],
64+
"severity": "MODERATE",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-06-04T14:47:05Z",
67+
"nvd_published_at": null
68+
}
69+
}

0 commit comments

Comments
 (0)