GHSA-w4pr-4vjg-hffh · Severity: high · Ecosystem: pip — When matrix-nio receives forwarded room keys, the receiver doesn't check if it requested the key from the forwarder
matrix-nio is a Python Matrix client library, designed according to sans I/O principles. Prior to version 0.20, when a users requests a room key from their devices, the software correctly remember the request. Once they receive a forwarded room key, they accept it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.20 fixes the issue.
Conclusion & alert: CVE-2022-39254 is rated Moderate Risk (50.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.23%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-12 | 0.28% | 0.23% | -0.05% |
| 2 | 2025-11-21 | 0.23% | 0.28% | +0.05% |
| 3 | 2025-11-18 | — | 0.23% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.0 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-w4pr-4vjg-hffh · Severity: high · Ecosystem: pip — When matrix-nio receives forwarded room keys, the receiver doesn't check if it requested the key from the forwarder
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-39254 not yet assigned priority: Debian including 1 source packages (python-matrix-nio), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. | https://security-tracker.debian.org/tracker/CVE-2022-39254 |
ubuntu
|
medium | CVE-2022-39254 medium priority: Ubuntu including 1 source packages (python-matrix-nio), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 4, DNE 2. | https://ubuntu.com/security/CVE-2022-39254 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| matrix-nio_project | matrix-nio | < 0.20 | cpe:2.3:a:matrix-nio_project:matrix-nio:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/poljar/matrix-nio/commit/b1cbf234a831daa160673defd596e6450e9c29f0 | Patch Third Party Advisory |
| https://github.com/poljar/matrix-nio/security/advisories/GHSA-w4pr-4vjg-hffh | Third Party Advisory |