PT-2025-29132 · Unknown · Matrix-Sdk

Poljar

·

Published

2025-07-10

·

Updated

2025-07-17

·

CVE-2025-53549

CVSS v4.0

5.2

Medium

VectorAV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Name of the Vulnerable Software and Affected Versions: matrix-sdk versions 0.11 through 0.12
Description: An SQL injection vulnerability exists in the EventCache::find event with relations method. This 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.
Recommendations: Pass only trusted or sanitised relation types to the filter argument of the EventCache::find event with relations() method. Update to version 0.13.

Exploit

Fix

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2025-53549
GHSA-275G-G844-73JH
OPENSUSE-SU-2025:15351-1
RUSTSEC-2025-0043

Affected Products

Matrix-Sdk