—
GO-2026-6242
New API: Integer overflow in quota billing yields negative charges (self-crediting) in github.com/QuantumNous/new-api
Quick fix
GO-2026-6242 — github.com/QuantumNous/new-api: upgrade to the fixed version with the command below.
go get github.com/QuantumNous/new-api@v1.0.0-rc.18Details
New API: Integer overflow in quota billing yields negative charges (self-crediting) in github.com/QuantumNous/new-api
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/QuantumNous/new-api
Introduced in:
0Fixed in: 1.0.0-rc.18Fix
go get github.com/QuantumNous/new-api@v1.0.0-rc.18References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-8r8v-xf7q-rcpr[ADVISORY]
- https://github.com/QuantumNous/new-api/commit/c9943d37ad93477dd937fc4901cc3c4e0fd8aaab[FIX]
- https://github.com/QuantumNous/new-api/commit/d0bd8aac742d1e160a5ca61743fe35f4fff880e8[FIX]
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.18[WEB]