Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify contract with unset admin
-
DeliveryCraft UpdateConfig ExecuteMsg
-
ExploitBroadcast tx from arbitrary wallet
-
ExecutionAuthorization check skipped (admin None)
-
ImpactOverwrite 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 |
| 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 |
| 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
EUVD-2026-87152
GHSA-6hj3-xgv7-99g6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB