Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-71479 EUVD-2026-60262GHSA-8r8v-xf7q-rcprGO-2026-6242

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

Published Aug 17, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
QuantumNous new-api < 1.0.0-rc.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/QuantumNous/new-api < 1.0.0-rc.18 1.0.0-rc.18 GHSA-8r8v-xf7q-rcpr

Advisories 2

References