{"id":"CVE-2026-64865","summary":"New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass","details":"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.","aliases":["GHSA-j6gc-4893-qwmp","GO-2026-6243"],"modified":"2026-09-20T03:30:58.081826563Z","published":"2026-08-17T16:13:37.664Z","related":["openSUSE-SU-2026:21761-1"],"database_specific":{"cwe_ids":["CWE-362"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64865.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64865.json"},{"type":"ADVISORY","url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64865"},{"type":"FIX","url":"https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/quantumnous/new-api","events":[{"introduced":"0"},{"fixed":"dfc0d6324b40c1d6c2972e524409f933541bfb0f"},{"fixed":"0977965d933f599b0bbed3ca501b67abce6ce712"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.0-rc.16"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.0.0-rc.15","v1.0.0-rc.14","v1.0.0-rc.13","v1.0.0-rc.12","v1.0.0-rc.11","v1.0.0-rc.10","v1.0.0-rc.9","v1.0.0-rc.8","v1.0.0-rc.7","v1.0.0-rc.6","v1.0.0-rc.5","v1.0.0-rc.4","v1.0.0-rc.3","v1.0.0-rc.2","v1.0.0-rc.1","v1.0.0-alpha.1","v0.13.2","v0.13.1-patch.1","v0.13.1","v0.13.0","v0.12.15","v0.12.14","v0.12.13","v0.12.12","v0.12.11","v0.12.10","v0.12.9","v0.12.8","v0.12.7","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.12.0-alpha.2","v0.12.0-alpha.1","v0.11.9","v0.11.9-alpha.2","v0.11.9-alpha.3","v0.11.9-alpha.1","v0.11.8","v0.11.7","v0.11.6-patch.1","v0.11.6","v0.11.5","v0.11.4-patch.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64865.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}