{"id":"CVE-2026-71479","summary":"New API: Integer overflow in quota billing yields negative charges (self-crediting)","details":"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.","aliases":["GHSA-8r8v-xf7q-rcpr","GO-2026-6242"],"modified":"2026-09-20T03:31:03.053441158Z","published":"2026-08-17T16:11:28.485Z","related":["openSUSE-SU-2026:21761-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-190","CWE-682"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71479.json"},"references":[{"type":"WEB","url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71479.json"},{"type":"ADVISORY","url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71479"},{"type":"FIX","url":"https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab"},{"type":"FIX","url":"https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/quantumnous/new-api","events":[{"introduced":"0"},{"fixed":"c9943d37ad93477dd937fc4901cc3c4e0fd8aaab"},{"fixed":"d0bd8aac742d1e160a5ca61743fe35f4fff880e8"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.0.0-rc.18"}]}}],"versions":["v1.0.0-rc.17","v1.0.0-rc.16","v1.0.0-rc.15","v1.0.0-rc.14","v1.0.0-rc.13","v1.0.0-rc.12","v1.0.0-rc.11","v1.0.0-rc.10","v1.0.0-rc.9","v1.0.0-rc.8","v1.0.0-rc.7","v1.0.0-rc.6","v1.0.0-rc.5","v1.0.0-rc.4","v1.0.0-rc.3","v1.0.0-rc.2","v1.0.0-rc.1","v1.0.0-alpha.1","v0.13.2","v0.13.1-patch.1","v0.13.1","v0.13.0","v0.12.15","v0.12.14","v0.12.13","v0.12.12","v0.12.11","v0.12.10","v0.12.9","v0.12.8","v0.12.7","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.12.0-alpha.2","v0.12.0-alpha.1","v0.11.9","v0.11.9-alpha.2","v0.11.9-alpha.3","v0.11.9-alpha.1","v0.11.8","v0.11.7","v0.11.6-patch.1","v0.11.6","v0.11.5","v0.11.4-patch.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-71479.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}