What’s Vulnerable › Vulnerabilities
CVE-2025-53549: Matrix Rust SDK allows SQL injection in the EventCache implementation
- Severity: medium (CVSS 5.2 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-10 · updated 2026-06-17
- Weakness: CWE-89
Description
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.
Affected products
- matrix-org matrix-rust-sdk: from 0.11, < 0.13
References
- https://github.com/matrix-org/matrix-rust-sdk/pull/4849
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jh
Get alerted when CVE-2025-53549 or the next vulnerability affects your stack