The high-severity flaw, affecting Electrum versions prior to 4.8.3, exploits the wallet's reliance on external servers to track unconfirmed transactions. Unlike a full Bitcoin node, Electrum does not independently verify transaction data from these servers, opening the door for a substitution attack.
According to a security disclosure published by the developers on Oct 24, a malicious server can suppress a user's legitimate broadcast and inject a fake conflicting transaction that sends coins to an attacker-controlled address. The fake transaction initially carries invalid signatures, but Electrum does not check them before displaying it as pending. The trap is sprung when the user employs Bitcoin's Replace-by-Fee feature to increase the fee on what appears to be a stalled payment. Electrum then signs a valid replacement that directs the funds to the attacker.
The developers received two reports in October. A user on Oct 11 noticed a suspicious transaction after broadcasting a legitimate payment but did not lose funds. A second user on Oct 18 reported losing money after fee-bumping a manipulated transaction. The amount stolen has not been disclosed. The advisory states that "some servers are performing this attack in the wild."
Electrum 4.8.3, tagged on Oct 23 and distributed the following day, closes the main attack vector by verifying cryptographic signatures on wallet-owned inputs before adding any unconfirmed transaction to local history. A server can no longer inject a fake transaction touching the user's own addresses without valid signatures. The patch does not extend signature verification to incoming transactions from external senders, a gap developers said would require additional work.
Electrum developer SomberNight noted that attackers could grind the fake transaction's output address to match the last four characters of the intended destination, making the substitution harder to spot during a quick check.
Users are urged to upgrade to Electrum 4.8.3 from the official website and to verify complete recipient addresses and payment amounts before signing any transaction. Those connected exclusively to trusted servers, including their own, were not exposed to this attack.
