SQL injectionin matrix-org matrix-rust-sdk.
No public exploit found; not on exploited lists.
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.
- Upgrade matrix-rust-sdk to 0.13 or later.
- Upgrade matrix-sdk (crates.io) to 0.13.0 or later.
- Upgrade matrix-sdk-sqlite (crates.io) to 0.13.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Jul 2025CVE ID reserved by GitHub_M.
- 10 Jul 2025Published in the CVE List.
- 10 Jul 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other matrix-rust-sdk vulnerabilities
Same weakness: SQL injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2025-53549: SQL injection in matrix-org matrix-rust-sdk. https://patchminder.com/cve/cve-2025-53549/ (accessed 5 December 2026).