Go Vulnerability Database
GO-2026-6242
New API: Integer overflow in quota billing yields negative charges (self-crediting) in github.com/QuantumNous/new-api
Details
New API: Integer overflow in quota billing yields negative charges (self-crediting) in github.com/QuantumNous/new-api
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/QuantumNous/new-api | All versions before 1.0.0-rc.18 (fixed in 1.0.0-rc.18) |
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