New API: Integer overflow in quota billing yields negative charges (self-crediting)
Summary
| CVE | CVE-2026-71479 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-17 16:17:44 UTC |
| Updated | 2026-08-17 19:16:35 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Problem Types: CWE-190 | CWE-682 | CWE-190 CWE-190: Integer Overflow or Wraparound | CWE-682 CWE-682: Incorrect Calculation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | QuantumNous | New-api | affected < 1.0.0-rc.18 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18 | [email protected] | github.com | |
| github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0f... | [email protected] | github.com | |
| github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4ff... | [email protected] | github.com | |
| github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.