{"id":"CVE-2026-64866","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. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELE…","severity":"medium","cwe":["CWE-862"],"vendor":"QuantumNous","product":"github.com/QuantumNous/new-api","affected":["github.com/QuantumNous/new-api >= 0.9.1.3, < 1.0.0-rc.7"],"patched":["github.com/QuantumNous/new-api 1.0.0-rc.7"],"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-64866","references":[{"url":"https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","label":"security-advisories@github.com"},{"url":"https://github.com/QuantumNous/new-api/pull/4929","label":"security-advisories@github.com"},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7","label":"security-advisories@github.com"},{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-p845-629j-rcj6"}],"tags":["nvd","ghsa","go"],"epss":0.00363,"epssPercentile":0.29993,"aliases":["GHSA-p845-629j-rcj6"],"ecosystem":"go","ingestedAt":"2026-08-17T16:57:25.491Z","slug":"CVE-2026-64866","body":"## Overview\n\nNew API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. From 0.9.1.3 until 1.0.0-rc.7, AdminResetPasskey in controller/passkey.go lacks the canManageTargetRole authorization check for DELETE /api/user/:id/reset_passkey, allowing a lower-privileged administrator to remove a passkey from a same-level or higher-privileged account, including a root account. This issue is fixed in version 1.0.0-rc.7.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-64866)\n\nAffected packages:\n\n- `github.com/QuantumNous/new-api >= 0.9.1.3, < 1.0.0-rc.7`\n\nPatched in:\n\n- `github.com/QuantumNous/new-api 1.0.0-rc.7`\n\nSource: https://github.com/advisories/GHSA-p845-629j-rcj6","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}