Skip to main content

New API CVE-2026-71479

| EUVDEUVD-2026-60262 CRITICAL
Integer Overflow or Wraparound (CWE-190)
2026-08-17 security-advisories@github.com GHSA-8r8v-xf7q-rcpr
9.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or fund low-privileged account
  2. Delivery
    Craft request with oversized billing quantity
  3. Exploit
    Overflow int32 quota conversion
  4. Execution
    Negative charge recorded as credit
  5. Impact
    Repeat 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

new-api < 1.0.0-rc.18

Affected Packages

go github.com/quantumnous/new-api fix: 1.0.0-rc.18
euvd new_api fix: 1.0.0-rc.18

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

Vendor (github) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 17:02 EUVD
CVE Published
Aug 17, 2026 - 16:17 cve.org
CRITICAL 9.1

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche self-hosted open-source LLM gateway, limited enterprise footprint
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy