Vulnerabilities in pkg:pypi/electrum
PACKAGECVE-2026-117601 is a CRITICAL (CVSS 7.5) malicious server can replace a vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Electrum libraries in the PyPI ecosystem. The issue involves malicious server can replace a just-broadcast tx and try to trick user into rbf-ing it. Remediation is available by upgrading affected packages to version 4.8.3.
pkg:pypi/electrum
Vulnerability advisories affecting package pkg:pypi/electrum. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6jp4-8v48-cc5v | CVE-2026-117601 | CRITICAL | Electrum: Malicious server can replace a just-broadcast tx and try to trick user into RBF-ing it |
CVE-2026-117601 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-117601
To remediate this vulnerability, upgrade all affected Electrum dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install electrum>=4.8.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show electrum
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-117601, inspect your installed packages using pip:
pip show electrum
Analyze the terminal output to locate any version of Electrum in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.8.3), your application is affected.
Note: The pip show electrum command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Electrum, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-117601 Affected Electrum Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
electrum
|
PyPI |
< 4.8.3
|
4.8.3
|
References
Frequently Asked Questions
What is CVE-2026-117601?
Which Electrum versions are affected?
What version fixes CVE-2026-117601?
Is electrum affected?
What is the CVSS score of CVE-2026-117601?
What CWE is associated with CVE-2026-117601?
How can I check PyPI dependencies for CVE-2026-117601?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6jp4-8v48-cc5v",
"modified" : "2026-11-20T06:31:55Z",
"published" : "2026-10-28T21:23:44Z",
"aliases" : [ "CVE-2026-117601" ],
"summary" : "Electrum: Malicious server can replace a just-broadcast tx and try to trick user into RBF-ing it",
"details" : "### Summary\n\nThe main Electrum server the client connects to is trusted with mempool (\"unconfirmed\") transactions. This is documented [design](https://electrum.readthedocs.io/en/latest/faq.html#does-electrum-trust-servers). [0]\n\nHowever now someone figured out a way to practically exploit it:\n- when the client broadcasts a new tx1, a malicious server can swallow it,\n- and update the client's history with a conflicting (invalid) tx2 that replaces the outputs with the attacker's output address.\n- Tx2 has invalid signatures, but this is not checked (due to light client design).\n- The wallet will display tx2 as an unconfirmed transaction - tx1 will not be displayed.\n- If the client then manually RBF fee-bumps tx2, the client will sign it with a higher fee, and hence pay the attacker.\n\n### Fixes\n\nCommit 90fe30822 contains the fix [1], included in version 4.8.3.\nThe client now verifies the signatures of `wallet.is_mine` inputs for mempool txs (before adding them to its local history).\n\nUsers should upgrade (and regularly do so in any case).\nAs a workaround, without upgrading, when signing any transaction, for bumping the fee or not, they should verify the output addresses and amounts are as expected.\n\nClients that connect to servers they trust (e.g. run their own) are not affected.\n\n\n### Remarks\n\n- some servers are performing this attack in the wild\n- electrum received two user-reports of this. user1 noticed after broadcasting tx1 the wallet history contained a different tx. user2 bumped the fee of tx2 and lost money.\n- user1 reported tx1 was not propagated over the bitcoin p2p, so the server held it\n- both reported the attacker's output address in tx2 was grinded to match the last four chars of the legit address from tx1\n- based on user2's report, the server constructed a tx2 with zero fee (presumably in hope of the user bumping its fee)\n- even with the fix, we still only validate \"is_mine\" inputs (i.e. paying from addresses that the wallet owns). So e.g. \"incoming\" txs are not validated. The client lacks a full consensus engine / script interpreter, though even with that, to cover non-is_mine inputs, it would have to validate the unconfirmed parents recursively until reaching mined txs. Mined txs we already SPV.\n\n\n### Timeline\n\n- 2026-10-11: user1 sends private disclosure, but the bump_fee vector is not realised\n- 2026-10-18: user2 (Raju-K12) reports privately that they lost money after bump_fee\n- 2026-10-23: version 4.8.3 git tagged, with the fix\n- 2026-10-24: version 4.8.3 binaries released\n- 2026-10-24: public disclosure\n\n\n### Credits\n\nElectrum thanks user1 and Raju-K12 for finding and responsibly disclosing this issue to us.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "electrum"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.8.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-117601"
}, {
"type" : "WEB",
"url" : "https://github.com/spesmilo/electrum/commit/90fe30822561e515a9d2d6e5a352cc07780999eb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spesmilo/electrum"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2026/11/msg00046.html"
}, {
"type" : "WEB",
"url" : "https://www.binance.com/en/square/post/381361716824742"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/electrum-before-4.8.3-missing-signature-verification-of-mempool-transactions"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-28T21:23:44Z",
"nvd_published_at" : "2026-10-27T14:16:39Z"
}
}