Skip to main content

Cosmowarp Contract EUVDEUVD-2026-87152

| CVE-2026-100248 HIGH
Comparison Using Wrong Factors (CWE-1025)
2026-09-25 mitre GHSA-6hj3-xgv7-99g6
8.4
CVSS 4.0 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify contract with unset admin
  2. Delivery
    Craft UpdateConfig ExecuteMsg
  3. Exploit
    Broadcast tx from arbitrary wallet
  4. Execution
    Authorization check skipped (admin None)
  5. Impact
    Overwrite contract config

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires the Cosmowarp asset_registry contract's config.admin field to be None (unset): the vulnerable execute_update_config only performs the info.sender != current_admin comparison inside an if let Some(current_admin) = config.admin block, so an unset admin causes the entire authorization check to be bypassed and any sender can execute UpdateConfig. If an admin address is configured, the original check functions and exploitation is blocked. Exploitation is limited to on-chain instances running a pre-56c6147 build of the rattadan/Cosmowarp_Contract asset_registry module in this specific unset-admin deployment state.

Impact

This is an authorization-bypass flaw in a CosmWasm (Rust) smart contract, not a widely deployed enterprise product. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H) scores 8.4 and signals unauthenticated network exploitation with high integrity and availability impact but only low confidentiality - consistent with an attacker who can call execute_update_config and overwrite contract configuration. Crucially the vector carries AT:P (attack requirements present): the source diff shows the check if let Some(ref current_admin) = config.admin { ... } is entirely skipped when config.admin is None, so exploitation is gated on the contract being deployed/left with an unset admin - a specific state, which is why raw AC:L understates real difficulty (I assess AC:H). There is NO EPSS score, NO CISA KEV listing, and NO public POC, so despite the high CVSS the practical urgency is low-to-moderate and confined to affected on-chain deployments. Signals are internally consistent except the 'Information Disclosure' tag, which contradicts the impact profile (integrity/availability dominated, confidentiality only Low). Treat as a real bug with a confirmed fix but a rare footprint rather than a broad emergency.

Exploit ScenarioDerived

An attacker observes a deployed Cosmowarp asset_registry contract whose admin field was never set (None). Because the pre-56c6147 code skips the sender check entirely when config.admin is None, the attacker broadcasts an ExecuteMsg::UpdateConfig transaction from any wallet and rewrites the contract configuration to their advantage. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Authorization bypass in the Rattadan Cosmowarp asset_registry smart contract (CosmWasm/Rust) lets any sender execute the privileged UpdateConfig message on deployments where the on-chain config.admin field is unset (None), because the sender-vs-admin check is nested inside an if let Some(current_admin) = config.admin block that is silently skipped. Impact is high on integrity and availability (VI:H/VA:H) with limited confidentiality loss (VC:L), scoring 8.4 under CVSS 4.0 and assessed as CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H; exploitation is only possible against pre-56c6147 builds of the rattadan/Cosmowarp_Contract asset_registry module running with an unset admin, and no public exploit code or active exploitation (CISA KEV) has been identified at time of analysis. The condition is narrow but the consequence is full admin-level config control for whoever submits the transaction first.

RemediationAI

Vendor-released patch: update the asset_registry contract to commit 56c6147ee613a6aaa157ecefe2f7bf0ad9084fa8 or later (https://github.com/rattadan/Cosmowarp_Contract/commit/56c6147ee613a6aaa157ecefe2f7bf0ad9084fa8), which replaces the if let Some(...) guard with an explicit ok_or(ContractError::Unauthorized)? so that a missing admin is denied rather than implicitly allowed; because this is an on-chain smart contract, remediation means rebuilding and migrating each deployed instance, not patching a host. If migration cannot happen immediately, the effective compensating control is to ensure every deployed instance has a non-None config.admin set to a controlled address, since the bypass is unreachable once an admin is configured - the trade-off is that this requires holding and safely managing the admin signing key, and the fix itself changes the semantics for unset-admin instances from 'anyone may update config' to 'Unauthorized', so any deployment that intentionally relied on an open/unset config path will stop accepting those updates after migration. There is no network-level workaround (no port or endpoint to block) because the exposure is a contract-logic flaw reachable by any transaction sender; ongoing monitoring for unexpected UpdateConfig transactions against pre-fix instances is recommended until migration is complete.

Affected VersionsENISA

Cosmowarp Contract 0 <56c6147ee613a6aaa157ecefe2f7bf0ad9084fa8

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cosmowarp is a CosmWasm smart contract written in Rust, and the affected code lives in the asset_registry module's execute_update_config handler (contract.rs, around line 343-346 of the pre-fix revision cc75c6f). The root cause maps to CWE-1025 (Comparison Using Wrong Factors): the authorization logic compared the transaction sender against config.admin only inside an if let Some(ref current_admin) = config.admin guard, so when the stored admin value was None the entire comparison - and therefore the entire authorization decision - was never evaluated, and execution fell through to the privileged update path. The upstream fix (commit 56c6147ee613a6aaa157ecefe2f7bf0ad9084fa8) restructures this to config.admin.as_deref().ok_or(ContractError::Unauthorized)? followed by a direct info.sender.as_str() != current_admin check, converting the absence of an admin into an explicit Unauthorized error instead of an implicit allow. The vulnerability is version-bound to the contract source (CPE cpe:2.3:a:rattadan:cosmowarp_contract:*:*:*:*:*:*:*:*), meaning only on-chain instances deployed from pre-56c6147 code in an unset-admin state are exposed; a correctly initialized admin address fully blocks the bypass.

Know when Cosmowarp Contract gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/R:I/RE:H/U:Red
vuln.today AI 7.7 HIGH

Network-callable contract entrypoint (AV:N, PR:N), but exploitation is gated on the admin being unset (AC:H); attacker can rewrite config so I:H/A:H with only incidental C:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.

Executive ViewAI

Why It Matters

Rattadan Cosmowarp's asset_registry smart contract contains an authorization bypass that, on deployments running pre-56c6147 builds with an unset admin field, allows any unauthenticated sender to seize admin-level configuration control. This exposes affected organizations to unauthorized changes that can compromise the integrity and availability of asset registry operations, though no public exploit identified at time of analysis. Leadership should prioritize identifying and upgrading affected contracts because the condition, while narrow, grants full administrative control to the first party that exploits it.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Rare
obscure single-author Cosmos smart contract, no enterprise deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy