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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-08-17T16:11:28.485Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-8r8v-xf7q-rcpr, GO-2026-6242
- Weaknesses: CWE-190, CWE-682
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- QuantumNous new-api: < 1.0.0-rc.18
- github.com/QuantumNous/new-api (Go): before 1.0.0-rc.18

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr> (advisory, web)
- <https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab> (fix, web)
- <https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8> (fix, web)
- <https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18> (web)
- <https://github.com/QuantumNous/new-api> (package)

## Sources

- CVE List: [CVE-2026-71479](https://www.cve.org/CVERecord?id=CVE-2026-71479), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-8r8v-xf7q-rcpr](https://github.com/advisories/GHSA-8r8v-xf7q-rcpr), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6242](https://pkg.go.dev/vuln/GO-2026-6242), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-71479](https://nvd.nist.gov/vuln/detail/CVE-2026-71479), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71479 · Whole record: https://cve.day/CVE-2026-71479.json · Rebuilt by cve.day 2026-11-25T22:59:33.354Z
