CVE-2025-53549matrix-org matrix-rust-sdk
Medium 5.2
Follow: this CVE · matrix-org · matrix-org matrix-rust-sdk We alert you by email or Slack (account required).
- Priority
- 31
- CVSS 4.0
- 5.2
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 10, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS: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
What happens
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.
What to do
- Apply the vendor's security update for matrix-rust-sdk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | matrix-sdk |
≥ 0.11.0 < 0.13.0 |
0.13.0 |
cargo update -p matrix-sdk --precise 0.13.0 |
| crates.io | matrix-sdk-sqlite |
≥ 0.11.0 < 0.13.0 |
0.13.0 |
cargo update -p matrix-sdk-sqlite --precise 0.13.0 |
| crates.io | matrix-sdk-sqlite |
≥ 0.11.0 < 0.13.0 |
0.13.0 |
cargo update -p matrix-sdk-sqlite --precise 0.13.0 |
Per OSV / GitHub Advisories (GHSA-275g-g844-73jh, RUSTSEC-2025-0043). Check the version in your lockfile before upgrading.
Affected products
- matrix-org · matrix-rust-sdk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.