Read the docs
TI-2022-18628 Aliases CVE-2022-39252GHSA-vp68-2wrm-69qm

When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder

Priority MEDIUM 44CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust, and matrix-sdk-crypto is the Matrix encryption library. Prior to version 0.6, when a user requests a room key from their devices, the software correctly remembers the request. When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.6 fixes this issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0063 50th percentileScored 2026-11-07
Fix Fixed matrix-rust-sdk (matrix-org): 0.6matrix-sdk-crypto (crates.io): 0.6.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
matrix-orgmatrix-rust-sdkbefore 0.60.6Patch availableCNA
—matrix-sdk-crypto (crates.io)before 0.6.00.6.0Patch availableGHSA-vp68-2wrm-69qm
  • matrix-rust-sdk Vendormatrix-org Affected before 0.6 Fixed in 0.6 Patch available CNA
  • matrix-sdk-crypto (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-vp68-2wrm-69qm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:matrix:matrix-rust-sdk:*:*:*:*:*:*:*:*before 0.6Vulnerablematrix-org
  • cpe:2.3:a:matrix:matrix-rust-sdk:*:*:*:*:*:*:*:* Versions before 0.6 Vulnerable ·matrix-org

Remediation

  • Fix · CNA matrix-rust-sdk (matrix-org) Fixed in 0.6
  • Fix · GHSA-vp68-2wrm-69qm matrix-sdk-crypto (crates.io) Fixed in 0.6.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39252
  2. 2026-10-03 Alias added: GHSA-vp68-2wrm-69qm
  3. 2026-10-27 EPSS moved to the 50th–90th percentile

References

  • TI-2025-41016 matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values CVSS 4.0LOW 1.3

Sources