{"cve":"CVE-2025-53549","nvd":{"published":"2025-07-10T19:15:26.683","modified":"2026-06-17T09:38:25.760","status":"Deferred","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.","cvss_v4":{"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","score":5.2},"cvss_v3":null,"cwes":["CWE-89"],"references":["https://github.com/matrix-org/matrix-rust-sdk/pull/4849","https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jh"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:04:28.436527499+00:00"},"epss":{"cve":"CVE-2025-53549","score":0.0031,"percentile":0.23943,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-275g-g844-73jh","url":"https://osv.dev/vulnerability/GHSA-275g-g844-73jh","summary":"Matrix Rust SDK vulnerable to SQL Injection through its EventCache implementation","modified":"2025-07-11T20:45:34Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk","purl":"pkg:cargo/matrix-sdk","ranges":[">=0.11.0 <0.13.0"],"fixed":["0.13.0"]},{"ecosystem":"crates.io","name":"matrix-sdk-sqlite","purl":"pkg:cargo/matrix-sdk-sqlite","ranges":[">=0.11.0 <0.13.0"],"fixed":["0.13.0"]}]},{"id":"RUSTSEC-2025-0043","url":"https://osv.dev/vulnerability/RUSTSEC-2025-0043","summary":"matrix-sdk-sqlite: SQL injection vulnerability in `SqliteEventCacheStore::find_event_with_relations`","modified":"2026-10-12T18:00:10.950538086Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk-sqlite","purl":"pkg:cargo/matrix-sdk-sqlite","ranges":[">=0.11.0 <0.13.0"],"fixed":["0.13.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}