Medium severity · published Jul 10, 2025
CVE-2025-53549
Matrix Rust SDK allows SQL injection in the EventCache implementation
5.2
CVSS
0.3%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
matrix-rust-sdk · matrix-org
>= 0.11, < 0.13 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-53549
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-53549
github.com
https://github.com/matrix-org/matrix-rust-sdk/pull/4849
github.com
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jh
More from matrix-rust-sdk
7.5
CVE-2025-66622
matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values
7.5
CVE-2022-39252
When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder
6.9
CVE-2026-45056
Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
4.9
CVE-2025-48937
matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator
4.3
CVE-2024-52813
matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity
