CVE-2025-48937: matrix-rust-sdk · Authentication Bypass by Spoofing
Affects matrix-rust-sdkSource CVE Database V5
Not known to be exploited · CVSS 4.9 Medium : upgrade to 0.11.1 when convenient.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.11.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade matrix-org/matrix-rust-sdk to 0.11.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iomatrix-org/matrix-rust-sdkpkg:cargo/matrix-org/matrix-rust-sdkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately verify the versions of matrix-rust-sdk in use and upgrade to version 0.11.1 or later where the vulnerability is fixed. Since the issue arises from malicious homeserver operators, organizations should also: 1) Restrict federation to trusted homeservers only, implementing strict access controls and vetting procedures for federated servers. 2) Monitor and audit homeserver logs for unusual event modifications or suspicious activity indicative of spoofing attempts. 3) Employ additional cryptographic verification or out-of-band validation for critical communications to detect spoofed messages. 4) Educate users about the risks of message spoofing and encourage verification of unexpected or sensitive messages. 5) Consider deploying network-level protections and anomaly detection systems to identify compromised homeservers or abnormal traffic patterns. 6) Engage with Matrix community and vendors for timely updates and security advisories. These steps go beyond generic patching by addressing the federated trust model and operational security controls necessary to mitigate risks from malicious homeservers.
Description
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust.matrix-sdk-crypto since version 0.8.0 and up to 0.11.0 does not correctly validate the sender of an encrypted event. Accordingly, a malicious homeserver operator can modify events served to clients, making those events appear to the recipient as if they were sent by another user. This vulnerability is fixed in 0.11.1 and 0.12.0.
References
- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-x958-rvg6-956w (opens in a new tab)
- github.com/matrix-org/matrix-rust-sdk/commit/13c1d2048286bbabf5e7bc6b015aafee98f04d55 (opens in a new tab)
- github.com/matrix-org/matrix-rust-sdk/commit/56980745b4f27f7dc72ac296e6aa003e5d92a75b (opens in a new tab)
- spec.matrix.org/v1.14/client-server-api/ (opens in a new tab)