Read the docs
TI-2024-27059 Aliases CVE-2024-40648GHSA-4qg4-cvh2-crgg

Improper authentication in matrix-org matrix-rust-sdk

Priority LOW 24CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · 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. The `UserIdentity::is_verified()` method in the matrix-sdk-crypto crate before version 0.7.2 doesn't take into account the verification status of the user's own identity while performing the check and may as a result return a value contrary to what is implied by its name and documentation. If the method is used to decide whether to perform sensitive operations towards a user identity, a malicious homeserver could manipulate the outcome in order to make the identity appear trusted. This is not a typical usage of the method, which lowers the impact. The method itself is not used inside the `matrix-sdk-crypto` crate. The 0.7.2 release of the `matrix-sdk-crypto` crate includes a fix. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Why it matters now

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

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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.7.20.7.2Patch availableCNA
—matrix-sdk-crypto (crates.io)before 0.7.20.7.2Patch availableGHSA-4qg4-cvh2-crgg
  • matrix-rust-sdk Vendormatrix-org Affected before 0.7.2 Fixed in 0.7.2 Patch available CNA
  • matrix-sdk-crypto (crates.io) Vendor— Affected before 0.7.2 Fixed in 0.7.2 Patch available GHSA-4qg4-cvh2-crgg

Remediation

  • Fix · CNA matrix-rust-sdk (matrix-org) Fixed in 0.7.2
  • Fix · GHSA-4qg4-cvh2-crgg matrix-sdk-crypto (crates.io) Fixed in 0.7.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-40648
  2. 2026-10-03 Alias added: GHSA-4qg4-cvh2-crgg

References

  • TI-2023-20035 Sydent does not verify email server certificates CVSS 3.1CRITICAL 9.3
  • TI-2026-45046 Dendrite 0.13.8 SSRF via Unauthenticated Legacy Media Download Endpoint CVSS 4.0MEDIUM 6.9
  • TI-2026-45045 Dendrite 0.13.8 Improper Authorization via POST account/3pid/delete Endpoint CVSS 4.0HIGH 7.1
  • TI-2026-45047 Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure CVSS 4.0MEDIUM 5.3
  • TI-2023-15617 Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites CVSS 3.1MEDIUM 5.0
  • TI-2023-20039 matrix-appservice-irc IRC command injection via admin commands containing newlines CVSS 3.1CRITICAL 9.8
See all 115 →

Sources