{"id":"GHSA-4rmq-mc2c-r495","aliases":["GO-2025-4214"],"url":"https://o3.security/vulnerability/GHSA-4rmq-mc2c-r495","summary":"Babylon Incorrect FP inactive accounting in costaking creates “phantom stake” that earns rewards after BTC unbond","details":"### Summary\n\nA state consistency bug in `x/costaking` can leave a BTC delegator with non-zero `ActiveSatoshis` (Phatom Stake) even after they have fully unbonded their BTC delegation, if their Finality Provider (FP) drops out of the active set in the exact same babylon block height. This creates a “phantom stake”: the delegator’s BTC capital is withdrawn, the FP is inactive, but costaking continues to treat the delegation as active BTC stake allowing ongoing rewards accrual without backing BTC.\n\n### Impact\n\nAn address can keep earning costaking rewards with zero BTC staked.\n\nReported by @BottyBott.","published":"2025-12-09T14:25:03Z","modified":"2025-12-15T19:56:17.439286Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/babylonlabs-io/babylon/v4","fixedVersion":"4.2.0"},{"ecosystem":"Go","name":"github.com/babylonlabs-io/babylon/v3","fixedVersion":null},{"ecosystem":"Go","name":"github.com/babylonlabs-io/babylon/v2","fixedVersion":null},{"ecosystem":"Go","name":"github.com/babylonlabs-io/babylon","fixedVersion":null}],"fix":{"url":"https://github.com/babylonlabs-io/babylon/commit/e65c3a55a398a403103f1b089cf76f0d4befc7a0","label":"babylonlabs-io/babylon@e65c3a5"},"references":[{"type":"WEB","url":"https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-4rmq-mc2c-r495"},{"type":"WEB","url":"https://github.com/babylonlabs-io/babylon/commit/e65c3a55a398a403103f1b089cf76f0d4befc7a0"},{"type":"PACKAGE","url":"https://github.com/babylonlabs-io/babylon"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2025-12-15T19:56:17.439286Z"}}