CVE-2026-100248

Unintended Admin Comparison Allows Unauthorized Privilege Escalation in Cosmowarp Contract

Published Sep 25, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Rattadan
Rattadan cosmowarp Contract
Vendors & Products Rattadan
Rattadan cosmowarp Contract
Type Values Removed Values Added
Title Unintended Admin Comparison Allows Unauthorized Privilege Escalation in Cosmowarp Contract
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 25, 2026, 5:52 PM
Reserved
Sep 25, 2026, 4:11 PM
Status
Deferred
Published
Sep 25, 2026, 5:17 PM
Modified
Sep 30, 2026, 5:32 PM