CVE-2025-53549CWE-89

Matrix Rust SDK allows SQL injection in the EventCache implementation

Medium · published July 10, 2025

CVSS v4.0
5.2
EPSS
0%
Percentile
22.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.2 · MEDIUM
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
EPSS
0.00310 · 22.7th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-07-10T18:28Z
EPSS history
Timeline
  • 10 JUL 18:28Z
    Matrix Rust SDK allows SQL injection in the EventCache implementation
    cvelistv5