CVE-2026-71479
CRITICAL 9.1CVSS 3.1New API: Integer overflow in quota billing yields negative charges (self-crediting)
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.
- Published
- 17 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-190CWE-682
- Also known as
- GHSA-8r8v-xf7q-rcprGO-2026-6242
- Sources
- NVDJSONOSV GHSA-8r8v-xf7q-rcprJSONOSV GO-2026-6242JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/QuantumNous/new-api | < 1.0.0-rc.18 | 1.0.0-rc.18 |
References
- https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab · WEB, FIX
- https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8 · WEB, FIX
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18 · WEB
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr · WEB, ADVISORY
- https://github.com/QuantumNous/new-api · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Aug 2026)