Read the docs
TI-2025-33493 Aliases CVE-2025-53549GHSA-275g-g844-73jh

Matrix Rust SDK allows SQL injection in the EventCache implementation

Priority LOW 25CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0031 24th percentileScored 2026-11-07
Fix Fixed matrix-rust-sdk (matrix-org): 0.13matrix-sdk (crates.io): 0.13.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
matrix-orgmatrix-rust-sdk0.11 to before 0.130.13Patch availableCNA
—matrix-sdk (crates.io)0.11.0 to before 0.13.00.13.0Patch availableGHSA-275g-g844-73jh
—matrix-sdk-sqlite (crates.io)0.11.0 to before 0.13.00.13.0Patch availableGHSA-275g-g844-73jh
  • matrix-rust-sdk Vendormatrix-org Affected 0.11 to before 0.13 Fixed in 0.13 Patch available CNA
  • matrix-sdk (crates.io) Vendor— Affected 0.11.0 to before 0.13.0 Fixed in 0.13.0 Patch available GHSA-275g-g844-73jh
  • matrix-sdk-sqlite (crates.io) Vendor— Affected 0.11.0 to before 0.13.0 Fixed in 0.13.0 Patch available GHSA-275g-g844-73jh

Remediation

  • Fix · CNA matrix-rust-sdk (matrix-org) Fixed in 0.13
  • Fix · GHSA-275g-g844-73jh matrix-sdk (crates.io) Fixed in 0.13.0 Advisory →
  • Fix · GHSA-275g-g844-73jh matrix-sdk-sqlite (crates.io) Fixed in 0.13.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-53549
  2. 2026-10-03 Alias added: GHSA-275g-g844-73jh

References

  • TI-2023-20035 Sydent does not verify email server certificates CVSS 3.1CRITICAL 9.3
  • TI-2026-45046 Dendrite 0.13.8 SSRF via Unauthenticated Legacy Media Download Endpoint CVSS 4.0MEDIUM 6.9
  • TI-2026-45045 Dendrite 0.13.8 Improper Authorization via POST account/3pid/delete Endpoint CVSS 4.0HIGH 7.1
  • TI-2026-45047 Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure CVSS 4.0MEDIUM 5.3
  • TI-2023-15617 Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites CVSS 3.1MEDIUM 5.0
  • TI-2023-20039 matrix-appservice-irc IRC command injection via admin commands containing newlines CVSS 3.1CRITICAL 9.8
See all 115 →

Sources