CVE-2026-141545
Received Received - Intake

Capminal Contracts Mint Rate Calculation Vulnerability

Vulnerability report for CVE-2026-141545, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: GitHub, Inc.

Description

Capminal Contracts are the open-source smart contracts powering the Capminal protocol. Prior to commit 3e26129, capminal-contracts calculates the amount of CAPU minted by ScapStaking.lockAndMintCapu using the mint rate at the pre-mint supply for the entire transaction. A user can therefore receive more CAPU than intended in a single large mint, because the calculation does not account for the increasing mint rate as supply grows. This issue is fixed in commit 3e26129.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
capminal capminal_contracts 3e26129

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-682 The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Capminal protocol's smart contracts where the mint price for CAPU tokens was calculated incorrectly. The system read the mint rate once at the start of a transaction and applied it to the entire mint amount, ignoring how the supply increased during the mint. This caused large mint transactions to be priced at the initial rate, leading to over-issuance of CAPU tokens. For example, minting 126M CAP should yield 56.026 CAPU but instead produced 96.648 CAPU, a 1.73x over-issuance.

Detection Guidance

The vulnerability involves incorrect pricing in mint operations due to a single-rate calculation. To detect it, inspect smart contract transactions involving CAPU minting for large amounts. Check if the minted CAPU matches expected values based on the protocol's curve integral. Look for transactions where the minted amount significantly exceeds the expected value, such as a 1.73x over-issuance observed in production.

Impact Analysis

If exploited, this vulnerability allows users to receive more CAPU tokens than intended for a given amount of CAP locked, leading to unfair financial gains. It could also cause protocol insolvency or loss of funds if over-issuance devalues the token. Additionally, a separate but related issue could cause a denial-of-service by triggering an overflow in the mint rate calculation, though this is not currently reachable in production.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR or HIPAA as it pertains to financial token minting mechanics rather than data protection or privacy. The issue involves incorrect pricing calculations in smart contracts, leading to over-issuance of tokens, which is a financial integrity concern rather than a regulatory compliance one.

Mitigation Strategies

Upgrade to commit 3e26129 or later to apply the integrated pricing mechanism. Replace the single-rate mint calculation with a stepped approach that re-reads the mint rate iteratively. Ensure the `lockAndMintCapu` function uses the trapezoid rule for pricing and includes safeguards like limiting steps to 128 iterations. Validate mint rate parameters before storing them to prevent miscalibration.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-141545. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...