# GHSA-m99c-q26r-m7m7: Evmos vulnerable to unauthorized account creation with vesting module

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-04-17T17:37:23.000Z
- Modified: 2026-03-03T04:55:14.138Z
- Also known as: GO-2024-2731

## Description

### 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 `CreateClawbackVestingAccount` method 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?_

(As written by GitHub Advisory Database.)

## Affected

- github.com/evmos/evmos/v13/x/vesting (Go): up to 13.0.2
- github.com/evmos/evmos/v13 (Go): up to 13.0.2; all versions
- github.com/evmos/evmos (Go): all versions
- github.com/evmos/evmos/v2 (Go): all versions
- github.com/evmos/evmos/v3 (Go): all versions
- github.com/evmos/evmos/v4 (Go): all versions
- github.com/evmos/evmos/v5 (Go): all versions
- github.com/evmos/evmos/v6 (Go): all versions
- github.com/evmos/evmos/v7 (Go): all versions
- github.com/evmos/evmos/v8 (Go): all versions
- github.com/evmos/evmos/v9 (Go): all versions
- github.com/evmos/evmos/v10 (Go): all versions
- github.com/evmos/evmos/v11 (Go): all versions
- github.com/evmos/evmos/v12 (Go): all versions

## References

- <https://github.com/evmos/evmos/security/advisories/GHSA-m99c-q26r-m7m7> (advisory, web)
- <https://github.com/evmos/evmos> (package)
- <https://pkg.go.dev/vuln/GO-2024-2731> (web)

## Sources

- GitHub Advisory Database: [GHSA-m99c-q26r-m7m7](https://github.com/advisories/GHSA-m99c-q26r-m7m7), CC-BY-4.0, modified 2024-06-10
- Go Vulnerability Database: [GO-2024-2731](https://pkg.go.dev/vuln/GO-2024-2731), CC-BY-4.0, modified 2026-03-03

---

Page: https://cve.day/GHSA-m99c-q26r-m7m7 · Whole record: https://cve.day/GHSA-m99c-q26r-m7m7.json · Rebuilt by cve.day 2026-11-25T22:56:23.706Z
