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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-362 — CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 1.0.0-rc.16 |
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp (x_refsource_CONFIRM)
- https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f (x_refsource_MISC)
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16 (x_refsource_MISC)
Generated from the official CVE List on 18 Aug 2026 07:05 UTC.