costaking creates “phantom stake” · V4: Babylon Incorrect FP inactive accounting
Affects github.com/babylonlabs-io/babylon/v4Source GCVE Database
CVSS 6.9 Medium : upgrade to 4.2.0 when convenient.
Data as of 27 Nov 2026, 04:41 UTC
- Patch
- Available – fixed in 4.2.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NWhat to do
Upgrade github.com/babylonlabs-io/babylon/v4 to 4.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/babylonlabs-io/babylon/v4 | Affected
| Fixed in
|
| Gogithub.com/babylonlabs-io/babylon/v3 | Affected
| Fixed in– |
| Gogithub.com/babylonlabs-io/babylon/v2 | Affected
| Fixed in– |
| Gogithub.com/babylonlabs-io/babylon | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and was released in Babylon version 4.2.0 that fixes the state consistency bug causing phantom stakes. Users and operators should upgrade to version 4.2.0 or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official fix.
Description
A state consistency bug in Babylon's costaking module allows a BTC delegator to retain a non-zero active stake balance after fully unbonding their BTC delegation if their Finality Provider becomes inactive in the same block. This results in a 'phantom stake' that continues to earn rewards without actual BTC backing. The issue affects versions prior to 4.2.0 and was fixed in version 4.2.0.