{"id":"CVE-2026-64865","published":"2026-08-17T16:13:37Z","modified":"2026-08-18T14:47:21Z","title":"New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass","vendor":"QuantumNous","product":"new-api","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00295,"percentile":0.22608,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f","tags":["x_refsource_MISC"]},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16","tags":["x_refsource_MISC"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.52},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"quantumnous","affectedVersions":[{"vendor":"QuantumNous","product":"new-api","versions":["< 1.0.0-rc.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T14:47:12.863907Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/QuantumNous/new-api","vulnerableRanges":["<1.0.0-rc.16"],"patched":["1.0.0-rc.16"],"from":["GHSA-j6gc-4893-qwmp","GO-2026-6243"],"provenance":"source"}],"summary":{"text":"New API (QuantumNous) has a race condition in its user quota cache: the controller for PUT /api/user/self performs a full write of the user's Redis quota record, which can overwrite concurrent billing deductions in the relay component. An authenticated user with network access can exploit this by repeatedly issuing profile update requests (such as changing language or sidebar settings) while relay requests are being billed, keeping their cached quota artificially high, and the attack depends on timing rather than user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:10Z"},"euvd":{"id":"EUVD-2026-60263","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-quantumnous-new-api-cve-2026-25591","parents":[{"from":"CVE-2026-64868","to":"CVE-2026-64865","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/QuantumNous/new-api","fromFixed":"1.0.0-rc.11","toFixed":"1.0.0-rc.16","daysApart":0},{"kind":"same-code","provenance":"machine","files":["router/api-router.go"],"commits":["https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f","https://github.com/QuantumNous/new-api/commit/d2f7f9ee3adf3ef66798783a60d7bc712451c85c"],"basis":"shared function","functions":["SetApiRouter"]}]},{"from":"CVE-2026-25591","to":"CVE-2026-64865","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["router/api-router.go"],"commits":["https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5","https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f"],"basis":"shared function","functions":["SetApiRouter"]}]},{"from":"CVE-2026-64859","to":"CVE-2026-64865","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["controller/user.go","model/user.go"],"commits":["https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f"],"basis":"shared function","functions":["AdminClearUserBinding"]}]}],"children":[{"from":"CVE-2026-64865","to":"CVE-2026-64866","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["controller/user.go","model/user.go"],"commits":["https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f","https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3"],"basis":"shared function","functions":["AdminClearUserBinding"]}]}],"packageHistory":[{"cve":"CVE-2026-44342","published":"2026-07-09","fixed":"0.12.0-alpha.1","kev":false},{"cve":"CVE-2026-41432","published":"2026-05-08","fixed":"0.12.10","kev":false},{"cve":"CVE-2026-64868","published":"2026-08-17","fixed":"1.0.0-rc.11","kev":false},{"cve":"CVE-2026-64865","published":"2026-08-17","fixed":"1.0.0-rc.16","kev":false},{"cve":"CVE-2026-71479","published":"2026-08-17","fixed":"1.0.0-rc.18","kev":false,"link":{"from":"CVE-2026-64865","to":"CVE-2026-71479","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/QuantumNous/new-api","fromFixed":"1.0.0-rc.16","toFixed":"1.0.0-rc.18","daysApart":0}]}},{"cve":"CVE-2026-64859","published":"2026-08-17","fixed":"1.0.0-rc.7","kev":false},{"cve":"CVE-2026-64866","published":"2026-08-17","fixed":"1.0.0-rc.7","kev":false}],"package":"Go:github.com/QuantumNous/new-api"}}