Skip to main content
← All vulnerabilities
CVE-2025-53549GHSA-275G-G844-73JHRUSTSEC-2025-0043

Matrix Rust SDK allows SQL injection in the EventCache implementation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.13, 0.13.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

The Matrix Rust SDK is a collection of libraries that make it easier to build Matrix clients in Rust. An SQL injection vulnerability in the EventCache::find_event_with_relations method of matrix-sdk 0.11 and 0.12 allows malicious room members to execute arbitrary SQL commands in Matrix clients that directly pass relation types provided by those room members into this method, when used with the default sqlite-based store backend. Exploitation is unlikely, as no known clients currently use the API in this manner. This vulnerability is fixed in 0.13.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • matrix-org matrix-rust-sdk

    From 0.11 · fixed in 0.13

  • matrix-sdkcrates.io

    From 0.11.0 · fixed in 0.13.0

  • matrix-sdk-sqlitecrates.io

    From 0.11.0 · fixed in 0.13.0

References 2

GitHub · matrix-org/matrix-rust-sdk