SQL Injection Vulnerability in Matrix Rust SDK by Matrix.org
CVE-2025-53549

5.2MEDIUM

Key Information:

Vendor

Matrix-org

Vendor
CVE Published:
10 July 2025

What is CVE-2025-53549?

The Matrix Rust SDK, a library for building Matrix clients in Rust, is susceptible to an SQL injection vulnerability in the EventCache::find_event_with_relations method. This flaw allows malicious users who are room members to pass relation types that could lead to the execution of arbitrary SQL commands when using the default sqlite-based store backend. Although no current clients utilize this API in such a manner, a fix was implemented in version 0.13 to address this security concern.

Affected Version(s)

matrix-rust-sdk >= 0.11, < 0.13

References

CVSS V4

Score:
5.2
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.