GHSA-rj53-j6jw-7f7g Babylon vulnerable to chain halt when a message modifies the validator set at the epoch boundary
An attacker can halt the blockchain by sending a message that modifies the validator set at the epoch boundary, causing a panic.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-rj53-j6jw-7f7g?
GHSA-rj53-j6jw-7f7g is a denial of service vulnerability in github.com/babylonlabs-io/babylon, published on 8 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Summary
Sending a message that modifies the validator set at the epoch boundary halts the chain.
Impact
Denial of Service - Comos-sdk prevents modifying the validator set from two different modules - https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/types/module/module.go#L811. Such an operation leads to panic and chain halt.
Detailed Post mortem
Which versions are affected by GHSA-rj53-j6jw-7f7g?
4 open source packages ship an affected version, including github.com/babylonlabs-io/babylon/v2 and github.com/babylonlabs-io/babylon.
| Package | Affected | Fixed in |
|---|---|---|
github.com/babylonlabs-io/babylon/v2 Go | From 2.0.0 | 2.1.0 |
github.com/babylonlabs-io/babylon/v2 Go | From 2.0.0 | 2.1.0 |
github.com/babylonlabs-io/babylon/v2 Go | From 2.0.0 | 2.1.0 |
github.com/babylonlabs-io/babylon Go | All versions | None |
How do I fix GHSA-rj53-j6jw-7f7g?
Upgrade github.com/babylonlabs-io/babylon/v2 to 2.1.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-rj53-j6jw-7f7g being exploited?
There is no known exploitation of GHSA-rj53-j6jw-7f7g in the wild and no public exploit code.
Sources
Also known as GO-2025-3801.