Electrum: Malicious server can replace a just-broadcast tx and try to trick user into RBF-ing it
CVE-2026-117601 · GHSA-6jp4-8v48-cc5v · published 28 Oct 2026
How serious is it
- Severity: critical, CVSS score 9.3 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-117601?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
electrum(PyPI) < 4.8.3
How to check
- Run
pip show electrumin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- Upgrade
electrumto 4.8.3 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
### Summary
The 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]
However now someone figured out a way to practically exploit it:
- when the client broadcasts a new tx1, a malicious server can swallow it,
- and update the client's history with a conflicting (invalid) tx2 that replaces the outputs with the attacker's output address.
- Tx2 has invalid signatures, but this is not checked (due to light client design).
- The wallet will display tx2 as an unconfirmed transaction - tx1 will not be displayed.
- If the client then manually RBF fee-bumps tx2, the client will sign it with a higher fee, and hence pay the attacker.
### Fixes
Commit 90fe30822 contains the fix [1], included in version 4.8.3.
The client now verifies the signatures of `wallet.is_mine` inputs for mempool txs (before adding them to its local history).
Users should upgrade (and regularly do so in any case).
As 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.
Clients that connect to servers they trust (e.g. run their own) are not affected.
### Remarks
- some servers are performing this attack in the wild
- 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.
- user1 reported tx1 was not propagated over the bitcoin p2p, so the server held it
- both reported the attacker's output address in tx2 was grinded to match the last four chars of the legit address from tx1
- based on user2's report, the server constructed a tx2 with zero fee (presumably in hope of the user bumping its fee)
- 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.
### Timeline
- 2026-10-11: user1 sends private disclosure, but the bump_fee vector is not realised
- 2026-10-18: user2 (Raju-K12) reports privately that they lost money after bump_fee
- 2026-10-23: version 4.8.3 git tagged, with the fix
- 2026-10-24: version 4.8.3 binaries released
- 2026-10-24: public disclosure
### Credits
Electrum thanks user1 and Raju-K12 for finding and responsibly disclosing this issue to us.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v
- nvd.nist.gov/vuln/detail/CVE-2026-117601
- github.com/spesmilo/electrum/commit/90fe30822561e515a9d2d6e5a352cc07780999eb
- www.binance.com/en/square/post/381361716824742
- www.vulncheck.com/advisories/electrum-before-4.8.3-missing-signature-verification-of-mempool-transactions
- github.com/advisories/GHSA-6jp4-8v48-cc5v
- github.com/spesmilo/electrum
Merged from GitHub Advisory Database, OSV. Last updated 29 Oct 2026. All vulnerabilities · RSS · JSON