GHSA-m99c-q26r-m7m7
MEDIUMEvmos vulnerable to unauthorized account creation with vesting module
Impact
What kind of vulnerability is it? Who is impacted?
Using the vesting module, a malicious attacker can create a new vesting account at a given
address, before a contract is created on that address.
Addresses of smart contracts deployed to the EVM are deterministic. Therefore, it would be possible for an attacker to front-run a contract creation and create a vesting account at that address.
When an address has been initialized without any contract code deployed to it, it will not be possible to upload any afterwards. In the described attack, this would mean that a malicious actor could prevent smart contracts from being deployed correctly.
In order to remediate this, an alternative user flow is being implemented for the vesting module:
- only the account receiving the vesting funds will be able to create such an account by calling the
CreateClawbackVestingAccountmethod and defining a funder address - vesting and lockup periods can then be created by that funder address using
FundClawbackAccount
Patches
Has the problem been patched? What versions should users upgrade to?
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
References
Are there any links users can visit to find out more?
- Published
- 17 Apr 2024
- Last modified
- 3 Mar 2026
- Also known as
- GO-2024-2731
- Sources
- OSVJSONOSV GO-2024-2731JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/evmos/evmos/v13/x/vesting | <= 13.0.2 | |
| OSV | Go | github.com/evmos/evmos/v13 | <= 13.0.2 | |
| OSV | Go | github.com/evmos/evmos | all versions | |
| OSV | Go | github.com/evmos/evmos/v2 | all versions | |
| OSV | Go | github.com/evmos/evmos/v3 | all versions | |
| OSV | Go | github.com/evmos/evmos/v4 | all versions | |
| OSV | Go | github.com/evmos/evmos/v5 | all versions | |
| OSV | Go | github.com/evmos/evmos/v6 | all versions | |
| OSV | Go | github.com/evmos/evmos/v7 | all versions | |
| OSV | Go | github.com/evmos/evmos/v8 | all versions | |
| OSV | Go | github.com/evmos/evmos/v9 | all versions | |
| OSV | Go | github.com/evmos/evmos/v10 | all versions | |
| OSV | Go | github.com/evmos/evmos/v11 | all versions | |
| OSV | Go | github.com/evmos/evmos/v12 | all versions | |
| OSV | Go | github.com/evmos/evmos/v13 | all versions |
References
- https://github.com/evmos/evmos/security/advisories/GHSA-m99c-q26r-m7m7 · WEB, ADVISORY
- https://github.com/evmos/evmos · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2731 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Apr 2024)