CVE-2025-53549

MEDIUM

matrix-sdk 0.11-0.12 - SQL Injection via EventCache::find_event_with_relations

Title source: llm
STIX 2.1

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.

References (2)

Core 2

Scores

CVSS v4 5.2
EPSS 0.0025
EPSS Percentile 16.6%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-89
Status published
Products (3)
crates.io/matrix-sdk 0.11.0 - 0.13.0crates.io
crates.io/matrix-sdk-sqlite 0.11.0 - 0.13.0crates.io
matrix-org/matrix-rust-sdk >= 0.11, < 0.13
Published Jul 10, 2025
Tracked Since Feb 18, 2026