Go to app

The bug: Electrum's unverified unconfirmed-transact

Published 10/26/2026, 8:08:46 PM

The Bitcoin wallet bug is an Electrum flaw (security advisory GHSA-6jp4-8v48-cc5v, severity High, no CVE assigned). Because Electrum is a lightweight wallet that trusts the unconfirmed-transaction ("mempool") data reported by whichever server it connects to, a malicious server could swallow a user's real broadcast transaction, inject a fake conflicting transaction whose outputs point to the attacker, and then wait for the user to "speed up" the payment with Replace-by-Fee (RBF) — the wallet would end up signing and paying the attacker instead of the intended recipient [Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v].

How the attack worked

Per the official advisory, the sequence is:

  1. When the client broadcasts a legitimate transaction tx1, a malicious server swallows it (does not relay it to the Bitcoin network).
  2. The server pushes a conflicting, invalid transaction tx2 into the wallet's history, spending the same coins but with outputs redirected to the attacker's address.
  3. tx2 carries invalid signatures, but Electrum did not verify them (light-client design), so it appeared as a normal unconfirmed transaction while the real tx1 was hidden.
  4. The user, seeing a stuck payment, used RBF to bump the fee. The wallet then signed tx2 with a valid higher fee — paying the attacker. The advisory notes tx2 was constructed with zero fee, presumably to bait the fee bump.

The advisory's own wording: "If the client then manually RBF fee-bumps tx2, the client will sign it with a higher fee, and hence pay the attacker." [Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v]

An additional social-engineering detail: fake destination addresses were "grinded" to match the real one's last four characters, and zero fees pushed victims toward RBF [Source: https://startupfortune.com/electrum-patches-flaw-that-let-rogue-servers-hijack-bitcoin-fee-bumps].

Affected versions, fix, and incidents

ItemDetail
Affected versionsAll Electrum < 4.8.3
Patched versionElectrum 4.8.3 (released Oct 24, 2026; fix commit 90fe308)
SeverityHigh (no CVE)
Live exploitationAdvisory confirms "some servers are performing this attack in the wild"
Confirmed victimsTwo user reports; user2 bumped the fee of tx2 and lost money (at least one confirmed theft)

[Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v] [Source: https://www.coindesk.com/tech/2026/10/26/bitcoin-wallet-bug-let-rogue-servers-steal-funds-when-users-tried-to-speed-up-payments]

The fix in 4.8.3 makes Electrum verify the signatures of wallet.is_mine inputs on mempool transactions before adding them to local history, closing the loop where the invalid-signed tx2 was trusted [Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v].

Timeline

  • 2026-10-11 — user1 private disclosure
  • 2026-10-18 — user2 (Raju-K12) reports losing money after bump_fee
  • 2026-10-23 — 4.8.3 git-tagged with the fix
  • 2026-10-24 — 4.8.3 binaries released and public disclosure

[Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v]

Important caveats

  • This is not a flaw in Bitcoin RBF itself. Bitcoin Core's bumpfee / BIP 125 simply replace an unconfirmed transaction with one paying a higher fee; they do not redirect outputs [Source: https://developer.bitcoin.org/reference/rpc/bumpfee.html]. The theft vector is specific to Electrum's light-client trust of a rogue server's unverified mempool data.
  • The fix is partial. Even post-fix, only is_mine inputs are validated — "incoming" transactions and nested unconfirmed parents are not, because the client lacks a full consensus/script interpreter [Source: https://github.com/spesmilo/electrum/security/advisories/GHSA-6jp4-8v48-cc5v].
  • Users running their own trusted server are not affected, and the recommended pre-upgrade mitigation is to verify output addresses and amounts before signing any transaction.

Conclusion

The bug was an Electrum server-trust design flaw (GHSA-6jp4-8v48-cc5v) that let a rogue server substitute a fake, invalidly-signed conflicting transaction for a user's stuck payment and then profit when the user RBF fee-bumped it; it was fixed in Electrum 4.8.3. What remains open is that signature verification still only covers wallet-owned inputs, so incoming unconfirmed transactions remain unvalidated by the light client.

Note: core facts (the attack mechanism, affected/patched versions, the two-user incident with at least one loss, and the commit-level fix) come from Electrum's official advisory and are corroborated across multiple independent outlets, though the primary source remains the project's own advisory.