{"id":"CVE-2026-64865","state":"PUBLISHED","title":"New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass","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.","publishedAt":"2026-08-17T16:13:37.664Z","updatedAt":"2026-08-18T14:47:21.494Z","severity":{"score":6,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["QuantumNous new-api"],"affected":[{"vendor":"QuantumNous","product":"new-api","versions":[{"version":"< 1.0.0-rc.16","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64865.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64865","state":"PUBLISHED","datePublished":"2026-08-17T16:13:37.664Z","dateUpdated":"2026-08-18T14:47:21.494Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-20T18:31:39.292Z"},"containers":{"cna":{"title":"New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass","descriptions":[{"lang":"en","value":"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":[{"vendor":"QuantumNous","product":"new-api","versions":[{"version":"< 1.0.0-rc.16","status":"affected"}]}],"references":[{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp","name":"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","name":"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","name":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-17T16:13:37.664Z"},"source":{"advisory":"GHSA-j6gc-4893-qwmp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T14:47:12.863907Z","id":"CVE-2026-64865","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T14:47:21.494Z"}}]}}}