medium6.0
CVE-2026-64865
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system.
Impact
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.16, repeated PUT /api/user/self requests that update language or sidebar_modules can race relay billing because controller/user.go calls User.Update and updateUserCache performs a full RedisHSetObj write to user:.Quota, overwriting concurrent HINCRBY deductions and allowing an authenticated user to keep cached quota artificially high. This issue is fixed in version 1.0.0-rc.16.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/QuantumNous/new-api | <= 1.0.0-rc.15 | 1.0.0-rc.16 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-j6gc-4893-qwmp
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp
- https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16