CVE-2025-53549

Matrix Rust SDK allows SQL injection in the EventCache implementation

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.

Category

5.2
CVSS
Severity: Medium
CVSS 4.0 •
EPSS 0.03%
Affected: matrix-org matrix-rust-sdk
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-53549?
CVE-2025-53549 has been scored as a medium severity vulnerability.
How to fix CVE-2025-53549?
To fix CVE-2025-53549, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-53549 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-53549 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-53549?
CVE-2025-53549 affects matrix-org matrix-rust-sdk.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.