Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or fund low-privileged account
-
DeliveryCraft request with oversized billing quantity
-
ExploitOverflow int32 quota conversion
-
ExecutionNegative charge recorded as credit
-
ImpactRepeat to inflate balance and drain upstream funds
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated New API account that is low-privileged but must hold a positive balance or an active subscription - that funded/active state is the explicit prerequisite named in the advisory, because settlement paths only trigger for accounts eligible to be charged. The attacker must then supply an out-of-range value in a user-controlled billing multiplier - image n, video seconds/duration, max_tokens, max_completion_tokens, maxOutputTokens, audio duration, or a billing-expression quantity - large enough to overflow the int32-width quota conversion in common/quota_math.go. Limiting factors: exploitation is confined to accounts that can register and fund a balance, affects only deployments prior to 1.0.0-rc.18, and depends on reaching a relay/settlement path that lacks the new saturation/bounds. Note the CVSS vector's PR:N contradicts this authenticated, funded-account requirement. |
| Impact | This is a genuine, high-priority integrity/financial-abuse issue rather than a theoretical high-CVSS artifact, but the input signals conflict on one key point. The provided CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (9.1), asserting no privileges required, yet the description explicitly states exploitation requires 'a low-privileged account with positive balance or an active subscription' - i.e. an authenticated, funded tenant. Per the available data these disagree: the CVSS vector says unauthenticated (PR:N) while the description implies authentication plus a funded balance is a prerequisite - verify with vendor; I assess PR:L as more accurate. Confidentiality impact is correctly N (no data disclosure); the real damage is to integrity of billing records and availability of upstream funds/credit, which is why I/A are High. No EPSS score or CISA KEV status was provided, and no weaponized exploit is referenced - only fix commits and a GHSA advisory - so treat exploitation likelihood as driven by disclosure of the patched code paths rather than confirmed in-the-wild use. For any operator running a paid/multi-tenant New API instance this warrants prompt patching because abuse directly converts to monetary loss and requires only ordinary account access. |
| Exploit ScenarioDerived | A tenant registers or funds a low-privileged account, then submits an API request (e.g. image generation, video/audio, or a chat completion) with a crafted oversized quantity such as an enormous max_tokens or duration value engineered so the quota product overflows the 32-bit charge. The recorded settlement wraps negative, crediting the attacker's balance instead of debiting it, and repeated calls inflate credit while consuming the operator's upstream provider funds. No public exploit is identified at time of analysis, though the patched code paths are disclosed in the fix commits. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Financial fraud via integer overflow in QuantumNous New API (an LLM gateway and AI asset-management platform) lets a low-privileged account with a positive balance or active subscription manipulate user-controlled billing multipliers so that a computed charge wraps into account credit and can drain upstream provider funds. The flaw sits in quota settlement math (common/quota_math.go and related paths) across image, video, audio, and token-count fields, and is fixed in 1.0.0-rc.18. There is no public exploit identified at time of analysis, but the upstream fix commits and GHSA advisory publicly disclose the vulnerable code paths.
RemediationAI
Upgrade to New API 1.0.0-rc.18, which is the vendor-released patch (https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18); this adds saturating quota conversion and input bounds on all billing multipliers and is the primary fix. If you cannot upgrade immediately, apply compensating controls: restrict account creation and require manual approval for funded/subscription accounts to limit who can reach the vulnerable settlement paths (trade-off: slows legitimate onboarding); enforce request-side upper limits at a reverse proxy or WAF on max_tokens/max_completion_tokens/maxOutputTokens, image n, and video/audio duration fields to reject absurd values before they reach quota math (trade-off: may break high-limit legitimate calls and must cover every relay format); and add monitoring/alerting on quota balances that increase after a chargeable request, plus reconciliation of upstream provider spend against internal debits to detect abuse (trade-off: detective, not preventive). Review the advisory GHSA-8r8v-xf7q-rcpr and the diffs in commits c9943d37 and d0bd8aac to confirm all affected paths are covered in your deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
New API is a Go-based aggregation gateway that proxies requests to upstream LLM/media providers and meters usage against a per-user quota balance stored in the database. The root cause is CWE-190 (Integer Overflow / wraparound): several user-controllable quantities that act as billing multipliers - image n, video seconds/duration, max_tokens / max_completion_tokens / maxOutputTokens, audio duration, and billing-expression quantities - were multiplied into quota values and then converted to native int (and ultimately int32-width database quota columns) with unchecked casts such as int(math.Round(...)) and int(math.Ceil(...)). Because quota columns are 32-bit, an oversized product (e.g. a value near 1.8e19 parsed into a uint or float) wraps past int32 bounds and becomes negative, so a debit is recorded as a credit. The fix introduces saturating converters (billingexpr.QuotaRound clamping to math.MaxInt32/MinInt32, common.QuotaFromFloat, decimalToQuota) and enforces upper bounds (dto.MaxImageN, relaycommon.MaxTaskDurationSeconds, maxTokensLimit in relay/helper/valid_request.go) at request validation across every relay format (OpenAI, Claude, Gemini, Responses), plus saturation of upstream-supplied deduction numbers (e.g. Kling FinalUnitDeduction) and audio-metadata durations.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Exploitation needs an authenticated funded account, so PR:L not PR:N; no data disclosure gives C:N, while billing-integrity corruption and upstream fund drain justify I:H and A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.18, user-controlled image n, video seconds and duration, max_tokens, max_completion_tokens, maxOutputTokens, audio duration, and billing-expression quantities can overflow conversions in common/quota_math.go and related settlement paths, allowing a low-privileged account with positive balance or an active subscription to turn a negative charge into account credit and potentially drain upstream funds. This issue is fixed in version 1.0.0-rc.18.
Executive ViewAI
QuantumNous New API (LLM gateway and billing platform) contains a critical integer overflow flaw allowing authenticated low-privileged users to convert charges into account credits, enabling direct fund theft from organizational accounts and upstream providers. No public exploit identified at time of analysis, but vulnerable code paths are disclosed in public advisories, creating material fraud risk for any active subscriber.
No vendor-released patch identified at time of analysis. Interim mitigations: disable platform immediately; if business continuity requires continued operation, restrict access exclusively to fully-trusted administrative accounts and revoke all low-privilege credentials; implement real-time transaction monitoring for impossible charge conversions and negative billing events; enforce manual review and approval for any transaction creating account credits or negative charges; segment QuantumNous API endpoints to isolated payment gateway with strict per-transaction spending limits; conduct forensic audit of all historical transactions for indicators of exploitation (phantom credits, charge-to-credit conversions).
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Same weakness CWE-190 – Integer Overflow or Wraparound
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-60262
GHSA-8r8v-xf7q-rcpr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB