New API: Integer overflow in quota billing yields negative charges (self-crediting)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| QuantumNous | new-api | before 1.0.0-rc.18 | 1.0.0-rc.18 | Patch available | CNA |
| — | github.com/QuantumNous/new-api (Go) | before 1.0.0-rc.18 | 1.0.0-rc.18 | Patch available | GHSA-8r8v-xf7q-rcpr |
- new-api VendorQuantumNous Affected before 1.0.0-rc.18 Fixed in 1.0.0-rc.18 Patch available CNA
- github.com/QuantumNous/new-api (Go) Vendor— Affected before 1.0.0-rc.18 Fixed in 1.0.0-rc.18 Patch available GHSA-8r8v-xf7q-rcpr
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:newapi:new_api:*:*:*:*:*:*:*:* | — | — | QuantumNous |
- cpe:2.3:a:newapi:new_api:*:*:*:*:*:*:*:* Versions — — ·QuantumNous
Remediation
- Fix · CNA new-api (QuantumNous) Fixed in 1.0.0-rc.18
- Fix · GHSA-8r8v-xf7q-rcpr github.com/QuantumNous/new-api (Go) Fixed in 1.0.0-rc.18 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71479
- 2026-10-03 Alias added: GHSA-8r8v-xf7q-rcpr
- 2026-10-19 EPSS moved to the 50th–90th percentile
References
Other 5
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr
- https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab
- https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18
- https://github.com/QuantumNous/new-api
More QuantumNous vulnerabilities
- TI-2025-35042 QuantumNous new-api v.0.8.5.2 is vulnerable to Cross Site Scripting (XSS). CVSS 3.1HIGH 8.8
- TI-2026-30643 New API: SSRF Filter Bypass via 0.0.0.0 CVSS 4.0HIGH 7.1
- TI-2026-30031 New API: Stripe Webhook Signature Bypass via Empty Secret Enables Unlimited Quota Fraud CVSS 3.1HIGH 8.2
- TI-2026-20865 New API has Potential XSS in its MarkdownRenderer component CVSS 3.1HIGH 7.6
- TI-2026-20698 New API has an SQL LIKE Wildcard Injection DoS via Token Search CVSS 4.0HIGH 7.1
- TI-2026-23715 New API: IDOR in VideoProxy allows cross-user video content access via missing ownership check CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-71479 · CVE Program
- CVE-2026-71479 · NVD
- FIRST EPSS
- GHSA-8r8v-xf7q-rcpr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences