Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-64865New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass
Medium 6.0
In plain English
A medium-severity race condition in new-api from QuantumNous. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/QuantumNous/new-api | 1.0.0-rc.16 | GHSA-j6gc-4893-qwmp |
| Go | github.com/QuantumNous/new-api | 1.0.0-rc.16 | GO-2026-6243 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 1.0.0-rc.16 |
Weakness: CWE-362 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N