We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

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.

Reserved 2025-07-02 | Published 2025-07-10 | Updated 2025-07-10 | Assigner GitHub_M


MEDIUM: 5.2CVSS: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

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

>= 0.11, < 0.13
affected

References

github.com/...st-sdk/security/advisories/GHSA-275g-g844-73jh

github.com/matrix-org/matrix-rust-sdk/pull/4849

cve.org (CVE-2025-53549)

nvd.nist.gov (CVE-2025-53549)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-53549

Support options

Helpdesk Chat, Email, Knowledgebase