Description
The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.
Published: 2026-09-25
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential unauthorized administrative privilege escalation
Action: Immediate Patch
AI Analysis

Impact

A flaw in the Rattadan Cosmowarp smart contract allows a comparison to an unintended value of the current_admin variable. This defect can lead to an administrator view being granted to an attacker, enabling them to perform privileged actions such as contract configuration, asset registry manipulation, or other high‑privilege operations. The weakness corresponds to CWE-1025, exposing a serious authority abuse flaw. Without the correct check, any user could potentially assume administrator status, compromising the integrity of the contract and the safety of its assets.

Affected Systems

The vulnerability exists in the Cosmowarp contract released by Rattadan, affecting all deployments prior to commit 56c6147. The affected code resides in asset_registry/src/contract.rs around line 343, where the current_admin comparator is incorrectly used.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, and the lack of an EPSS score reflects insufficient data on exploitation probability but does not diminish the critical nature of the flaw. The issue is not listed in CISA's KEV catalog, implying it has not yet been observed in the wild. The likely attack vector is through on‑chain transaction injections that target the admin comparison check, allowing a malicious actor to set an arbitrary address as current_admin and gain administrative control. Immediate patching is strongly recommended to mitigate the risk of unauthorized privilege escalation.

Generated by OpenCVE AI on September 25, 2026 at 18:39 UTC.

Remediation

Vendor Solution

Throw an unauthorized error on empy admin states.


OpenCVE Recommended Actions

  • Upgrade the Cosmowarp contract to include the commit that throws an unauthorized error when the admin state is empty (commit 56c6147).
  • Replace or audit the current_admin comparison logic to ensure it uses the intended value and properly validates input.
  • If a patch cannot be applied immediately, revoke all current admin privileges, and restrict contract operations until a secure version is deployed.

Generated by OpenCVE AI on September 25, 2026 at 18:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Rattadan
Rattadan cosmowarp Contract
Vendors & Products Rattadan
Rattadan cosmowarp Contract

Fri, 25 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
Title Unintended Admin Comparison Allows Unauthorized Privilege Escalation in Cosmowarp Contract

Fri, 25 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.
Weaknesses CWE-1025
References
Metrics cvssV4_0

{'score': 8.4, 'vector': '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'}


Subscriptions

Rattadan Cosmowarp Contract
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-25T17:52:46.572Z

Reserved: 2026-09-25T16:11:54.521Z

Link: CVE-2026-100248

cve-icon Vulnrichment

Updated: 2026-09-25T17:52:31.239Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T17:17:07.243

Modified: 2026-09-30T17:32:07.107

Link: CVE-2026-100248

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T22:19:06Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors