Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M

CVE-2026-71479New API: Integer overflow in quota billing yields negative charges (self-crediting)

Critical 9.1

In plain English

A critical-severity integer overflow in new-api from QuantumNous. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.6%top 48.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/QuantumNous/new-api1.0.0-rc.18GHSA-8r8v-xf7q-rcpr
Gogithub.com/QuantumNous/new-api1.0.0-rc.18GO-2026-6242

Affected products (as reported)

VendorProductVersions
QuantumNous new-api < 1.0.0-rc.18

Weakness: CWE-190, CWE-682 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References