CVE-2025-53549

Matrix Rust SDK allows SQL injection in the EventCache implementation

MEDIUM
5.2
CVSS Score
Published: July 10, 2025 at 06:28 PM UTC
Updated: June 17, 2026 at 09:38 AM UTC
1 product affected across 1 vendorMatrix Rust SDK

Using matrix-rust-sdk by matrix-org?

Get instant alerts when new vulnerabilities affect matrix-rust-sdk - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.2
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.13
Affected range stops below 0.13, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.2MEDIUMGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card