{"id":"CVE-2026-64866","aliases":["CVE-2026-64866","GHSA-p845-629j-rcj6","GO-2026-6244"],"related":[],"kind":"vulnerability","state":"published","title":"New API: Admin can reset passkeys for same-level or higher-privileged users","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe admin passkey reset endpoint lacked the role-level authorization check used by comparable privileged account-protection endpoints. A lower-privileged administrator could attempt passkey reset operations against same-level or higher-privileged users, including root-level accounts.\n\n## Impact\n\nIf the target account had a passkey configured, a lower-privileged administrator could remove that authentication factor and weaken the target account's protection boundary. The attacker still needed administrator privileges, so the issue is rated Medium.\n\n## Affected versions\n\nThe vulnerable admin passkey reset behavior was present from the passkey feature introduction in `v0.9.1.3` through versions before `v1.0.0-rc.7`.\n\n## Patches\n\nThis issue is fixed in `v1.0.0-rc.7`. The fix adds a `canManageTargetRole` check to `AdminResetPasskey` before passkey lookup or deletion, preventing lower-privileged administrators from operating on same-level or higher-privileged users.\n\n## Workarounds\n\nIf upgrading immediately is not possible, restrict admin access to trusted operators only and block `DELETE /api/user/:id/reset_passkey` at the reverse proxy or gateway except for root operators.\n\n## References\n\n- Fixed by commit `0936e2504655a5cbf7bc3c388f6d3e2bb24916d3`.\n- Relevant code paths: `controller/passkey.go`, `controller/twofa.go`, and `router/api-router.go`.","format":"markdown","source":"ghsa"},{"lang":"en","text":"New API: Admin can reset passkeys for same-level or higher-privileged users in github.com/QuantumNous/new-api.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: .","format":"markdown","source":"go"}],"published":"2026-08-17T16:06:38.718Z","modified":"2026-09-18T20:09:01.757Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":">= 0.9.1.3, < 1.0.0-rc.7","status":"affected"}],"vendor":"QuantumNous","product":"new-api","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.9.1.3","status":"affected","fixed":"1.0.0-rc.7"}],"ecosystem":"Go","package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-rc.7"}],"ecosystem":"Go","package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"go"}],"references":[{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api/pull/4929","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/QuantumNous/new-api","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-17T21:29:12.960Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64866","url":"https://www.cve.org/CVERecord?id=CVE-2026-64866","licence":"CVE Terms of Use","modified":"2026-08-17T22:01:49.775Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p845-629j-rcj6","url":"https://github.com/advisories/GHSA-p845-629j-rcj6","licence":"CC-BY-4.0","modified":"2026-08-18T15:11:02.304Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6244","url":"https://pkg.go.dev/vuln/GO-2026-6244","licence":"CC-BY-4.0","modified":"2026-08-18T15:00:25.962Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64866","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64866","licence":"Public domain","modified":"2026-09-18T20:09:01.757Z"}],"updatedAt":"2026-11-25T22:59:33.353Z","epss":{"score":0.00363,"percentile":0.32115,"date":"2026-12-01T12:00:22.000Z"}}