256//Red Team
← Door 3 · Advent Calendar 2026

RT-2026-041: GridPool: a fake block could cancel miners' pending payouts

Status: Fixed in the v0.2.2-beta.2 pre-release, not on main · Severity: Critical (draft score 9.2 of 10) · CVE: Not requested · Published: 2026-12-03

In short

GridPool is a mining pool run by a group of cooperating computers, called nodes. Each node tracks the work miners have done and what they are owed. When the pool finds a Bitcoin block, the node marks that work as paid and starts a new round.

In older versions, a node could be fooled into thinking the pool had found a block when it had not. Anyone who can send work to the node could do this, without an account. The node then marked miners' unpaid work as paid and passed the false news on to other nodes.

Grid Labs has fixed this in the v0.2.2-beta.2 pre-release. Install v0.2.2-beta.2 itself, and don't go back to main. The fix is not on main.

Am I affected?

The attacker only needs to send work to your node: for example, by pointing a miner at your pool, or from another node that passes work to yours. No password or account is needed.

What was wrong

Think of a raffle where anyone can walk up with a ticket and say "we won". The organizer pays out and tears up everyone's tickets for that round. It should have checked the official draw. Instead it checked only the ticket, which got to say how easy winning was. Anyone could print a winning ticket.

In GridPool, submitted work counted as a found block if it met a difficulty level written inside that same work. The node never compared that level with the real Bitcoin network, or asked its own Bitcoin node whether the block existed.

What could an attacker do?

One fake piece of work could make a node close the round, mark the payout list as paid, and drop miners' unpaid work. Those miners lost their claim to payment, even after the node caught up with the real Bitcoin chain. Other nodes received the fake block and did the same. Repeating it could keep the pool switching rounds.

What we tested: in a lab with two nodes on a private Bitcoin test network, one fake piece of work made both nodes switch to a block their Bitcoin node had never seen, and drop the unpaid work.

What we did not show: creating bitcoin, breaking Bitcoin, taking over the node's computer, reading private data, sending payouts to the attacker, or attacking a real pool. The damage is to the pool's record of who is owed what.

How Grid Labs fixed it

Work that looks like a block is now only a possible block. The node leaves payouts alone until its own Bitcoin node shows that block on the real chain, matched to the right payout list. The same block can't be paid twice.

Your own Bitcoin node is now the judge. A node that settles payouts must be connected to its own Bitcoin node, kept fully in sync. A node set up to rely on outside sources instead can't check Bitcoin for itself and should not settle payouts.

What we verified: retests of Grid Labs' test builds on 2026-08-26 and 2026-09-02 showed that fake and repeated blocks no longer changed anything, and real blocks paid exactly once. On 2026-11-27 we read the source code and its history and confirmed the fix is in v0.2.2-beta.2. We have not run new tests on the release itself.

What you can do now

Technical details

For readers who want the specifics:

Timeline

Date Event
2026-08-13 Found by the 256 Foundation Red Team while reading the source code
2026-08-13 Reported privately to Grid Labs, with the detailed write-up the same day
2026-08-18 Confirmed in a two-node test lab against 97bc68c; Grid Labs created fix 400fc6e
2026-08-26 Retest of Grid Labs' test build confirmed the fix
2026-09-02 Follow-up retest: real blocks still pay exactly once
2026-09-09 v0.2.2-beta.2 pre-release published with the fix
2026-11-27 Source review confirmed the fix is in v0.2.2-beta.2 and not on main
2026-12-03 Advisory published, with Grid Labs' agreement

Credits

Found by the 256 Foundation Red Team. Thanks to the Grid Labs maintainers for building and releasing the fix and for working with us on the retests.

References

Revision history

Date Change
2026-12-03 Initial publication

The 256 Foundation follows coordinated vulnerability disclosure. See our Responsible Disclosure Policy.