Medium severityOSV Advisory· Published Jul 10, 2025· Updated Jun 17, 2026
CVE-2025-53549
CVE-2025-53549
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
matrix-sdkcrates.io | >= 0.11.0, < 0.13.0 | 0.13.0 |
matrix-sdk-sqlitecrates.io | >= 0.11.0, < 0.13.0 | 0.13.0 |
Affected products
4- Range: matrix-sdk-0.11.0, matrix-sdk-0.12.0, matrix-sdk-base-0.11.0, …
- ghsa-coords3 versionspkg:cargo/matrix-sdkpkg:cargo/matrix-sdk-sqlitepkg:rpm/opensuse/fractal&distro=openSUSE%20Tumbleweed
>= 0.11.0, < 0.13.0+ 2 more
- (no CPE)range: >= 0.11.0, < 0.13.0
- (no CPE)range: >= 0.11.0, < 0.13.0
- (no CPE)range: < 12.beta+14-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-275g-g844-73jhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-53549ghsaADVISORY
- github.com/matrix-org/matrix-rust-sdk/commit/d0c01006e4808db5eb96ad5c496416f284d8bd3cghsaWEB
- github.com/matrix-org/matrix-rust-sdk/pull/4849nvdWEB
- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jhnvdWEB
- rustsec.org/advisories/RUSTSEC-2025-0043.htmlghsaWEB
News mentions
0No linked articles in our index yet.