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.
Severity (CVSS)
| Base score | 9.1 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-190 — CWE-190: Integer Overflow or Wraparound
- CWE-682 — CWE-682: Incorrect Calculation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 1.0.0-rc.18 |
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr (x_refsource_CONFIRM)
- https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab (x_refsource_MISC)
- https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8 (x_refsource_MISC)
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18 (x_refsource_MISC)
Generated from the official CVE List on 18 Aug 2026 07:05 UTC.