{"id":"CVE-2026-64865","title":"New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system","summary":"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 co…","severity":"medium","cwe":["CWE-362"],"vendor":"QuantumNous","product":"github.com/QuantumNous/new-api","affected":["github.com/QuantumNous/new-api <= 1.0.0-rc.15"],"patched":["github.com/QuantumNous/new-api 1.0.0-rc.16"],"published":"2026-08-17","updated":"2026-09-18","sourceUpdated":"2026-09-18T20:09:01.757","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64865","references":[{"url":"https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f","label":"security-advisories@github.com"},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16","label":"security-advisories@github.com"},{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-j6gc-4893-qwmp"}],"tags":["nvd","ghsa","go"],"epss":0.00243,"epssPercentile":0.15814,"aliases":["GHSA-j6gc-4893-qwmp"],"ecosystem":"go","ingestedAt":"2026-08-17T16:57:25.404Z","slug":"CVE-2026-64865","body":"## Overview\n\nNew 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-64865)\n\nAffected packages:\n\n- `github.com/QuantumNous/new-api <= 1.0.0-rc.15`\n\nPatched in:\n\n- `github.com/QuantumNous/new-api 1.0.0-rc.16`\n\nSource: https://github.com/advisories/GHSA-j6gc-4893-qwmp","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}