CVE-2025-53549: matrix-org matrix-rust-sdk SQL Injection
Vulnerability summary
CVE-2025-53549 is a medium (CVSS 5.2) SQL Injection vulnerability in matrix-org matrix-rust-sdk. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.4% of scored vulnerabilities.
Timeline
- 10-07-2025PublishedVulnerability first disclosed.
- 10-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UDiffers
- NVDNIST5.2MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
+0.04 pp
From 0.27% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io2 products
- matrix-sdk≥ 0.11.0, < 0.13.0
- matrix-sdk-sqlite≥ 0.11.0, < 0.13.0
Matrix-org1 product
- matrix-rust-sdk≥ 0.11, < 0.13
Opensuse1 product
- fractal&distro=openSUSE Tumbleweed< 12.beta+14-1.1
3 vendors · 4 products