Matrix Rust SDK allows SQL injection in the EventCache implementation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| matrix-org | matrix-rust-sdk | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Matrix | Matrix-rust-sdk | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-21024 | Matrix Rust SDK vulnerable to SQL Injection through its EventCache implementation |
Github GHSA |
GHSA-275g-g844-73jh | Matrix Rust SDK vulnerable to SQL Injection through its EventCache implementation |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.318% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Matrix Rust SDK allows SQL injection in the EventCache implementation | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV4_0
|