Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹 Go

GHSA-54gx-3cgr-7mfm

Cosmos EVM: incorrect state handling during nested EVM execution paths

Also known asGO-2026-4677
Published
Mar 11, 2026
Updated
Mar 23, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed

Blast Radius

1 pkg affected
🐹github.com/cosmos/evm

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Advisory ID: ASA-2026-002

Component: ICS20 Precompile

Status: Resolved

Published: March 2026

Contact: [email protected]


Security Advisory ASA-2026-002

Status: Resolved. A patch is available and all known affected chains have either applied mitigations or upgraded.

FieldValue
SeverityCritical
Affected ComponentICS20 Precompile
Affected VersionsCosmos EVM implementations including the ICS20 precompile
Patched Versionv0.6.0
First ReportedJanuary 21, 2026
Public DisclosureMarch 2026

Introduction

Recently, there was a vulnerability affecting a feature used by some chains built on the Cosmos EVM stack. Working together with ecosystem partners and affected teams, particularly Saga, B-Harvest, Mantra, Zellic and Sherlock, Cosmos Labs investigated the issue, coordinated mitigations, developed a permanent fix, and issued a patch to affected chains.

We appreciate the collaboration of the teams who assisted during the investigation and response process and thank our ecosystem partners for their support in coordinating mitigation and validation efforts.


Remediation Summary

On January 21, 2026, Cosmos Labs was notified of suspicious activity on a network running the affected implementation. The issue resulted in financial loss on the Saga EVM network.

After confirming the vulnerability, Cosmos Labs coordinated with the affected chain team and ecosystem partners to investigate the issue, deploy mitigations, and assist other chains running the affected code.

Cosmos Labs contacted chains known to be running versions containing the affected component to verify their configurations and support mitigation where necessary. At the time of publication, all known affected chains have either applied mitigations or upgraded to a patched version.


Root Cause

The vulnerability was caused by incorrect state handling during nested EVM execution paths involving the ICS20 precompile.

Under certain execution conditions, state updates performed during recursive calls were not correctly reflected in the outer execution context. This could allow repeated use of the same token balance within a single transaction.


Mitigation

As an immediate mitigation, chains were advised to disable the ICS20 precompile through a coordinated upgrade.

Cosmos Labs assisted ecosystem teams in verifying whether their chains were affected and in applying the mitigation where required.

  • 15 chains were identified as running code containing the issue
  • 6 chains did not have the affected feature enabled
  • The remaining chains implemented the mitigation before exploitation occurred
  • 1 chain experienced an exploit prior to mitigation

Long-Term Fix

A permanent fix was implemented to ensure state consistency across nested EVM execution paths. The patch was distributed privately to affected teams for validation and later released publicly.

The fix is included in v0.6.0.


Am I Affected?

Chains may be affected if they:

  • Run versions of the Cosmos EVM stack that include the ICS20 precompile implementation
  • Have the ICS20 precompile enabled
  • Have not upgraded to v0.6.0 or applied the mitigation

Chains that have upgraded to v0.6.0 or have disabled the ICS20 precompile are not vulnerable to this issue.

If you are unsure whether your chain is affected, please contact:

[email protected]


Timeline

July 2024

The code containing the vulnerability was introduced upstream.

January 21, 2026

A network running the affected implementation experienced an exploit. The incident resulted in an estimated loss of approximately $7M on that network.

January 21, 2026

Cosmos Labs was notified of the potential vulnerability and began investigating.

January 21–22, 2026

The issue was reproduced and an initial mitigation was identified.

Late January 2026

Root cause analysis was conducted and a long-term fix was developed.

Early February 2026

The fix was validated internally and shared privately with affected ecosystem teams for review and testing.

Mid February 2026

Patches and mitigation guidance were distributed to chains running affected code.

March 2026

The permanent fix was released publicly as part of v0.6.0.


Acknowledgements

We would like to thank the teams and security partners who collaborated with us during the investigation and remediation process, including contributors from:

  • Saga
  • B-Harvest
  • Mantra
  • Zellic
  • Sherlock

Their collaboration and responsiveness helped accelerate investigation, validation of the fix, and coordinated mitigation across affected chains.


Strengthening Security Processes

Following this incident, Cosmos Labs is implementing several improvements to further strengthen the security of the Cosmos EVM stack, including:

  • Expanded fuzz testing focused on complex execution paths
  • Additional auditing of state management logic across EVM integrations
  • Improvements to testing frameworks for precompile functionality
  • Continued collaboration with ecosystem security partners
  • Increased our bug bounty payouts for our security program

These improvements are designed to reduce the likelihood of similar issues and ensure that teams building on the Cosmos stack can continue to rely on secure and well-tested infrastructure.


Disclosure and Coordination

Cosmos Labs coordinated with ecosystem partners and affected teams to investigate the issue, validate mitigations, and distribute the permanent fix prior to public disclosure.

We appreciate the collaboration of ecosystem teams who assisted with investigation, validation, and responsible remediation of this issue.


Responsible Disclosure

Cosmos Labs encourages responsible disclosure of potential vulnerabilities.

Security researchers who discover a potential issue are encouraged to report it privately so it can be investigated and addressed responsibly.

Reports can be submitted to:

[email protected]

Information about Cosmos Labs security programs and responsible disclosure practices, including bug bounty opportunities, will be made available through Cosmos Labs security channels, which can be signed up for here.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/cosmos/evmall versions0.6.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/cosmos/evm. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update github.com/cosmos/evm to 0.6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-54gx-3cgr-7mfm is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-54gx-3cgr-7mfm is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-54gx-3cgr-7mfm. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

**Advisory ID:** ASA-2026-002 **Component:** ICS20 Precompile **Status:** Resolved **Published:** March 2026 **Contact:** [[email protected]](mailto:[email protected]) --- # Security Advisory ASA-2026-002 **Status: Resolved. A patch is available and all known affected chains have either applied mitigations or [upgraded](https://github.com/cosmos/evm/releases/tag/v0.6.0).** | Field | Value | | --- | --- | | **Severity** | Critical | | **Affected Component** | ICS20 Precompile | | **Affected Versions** | Cosmos EVM implementations including the ICS20 precompile | | **Patched Ve
O3 Security · Impact-Aware SCA

Is GHSA-54gx-3cgr-7mfm in your dependencies?

O3 detects GHSA-54gx-3cgr-7mfm across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.