CVE-2026-64866: New API: Admin can reset passkeys for same-level or higher-privileged users
Summary The 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.
Published Aug 17, 2026
Affected packages
github.com/QuantumNous/new-api
- Ecosystem
- Go
- Affected
- >= 0.9.1.3, < 1.0.0-rc.7
- Fixed in
- 1.0.0-rc.7
- Check
go list -m github.com/QuantumNous/new-api
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The 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.
Impact
If 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.
Affected versions
The 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.
Patches
This 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.
Workarounds
If 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.
References
- Fixed by commit
0936e2504655a5cbf7bc3c388f6d3e2bb24916d3. - Relevant code paths:
controller/passkey.go,controller/twofa.go, androuter/api-router.go.
Credited to Mi0uno.
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-p845-629j-rcj6
- https://github.com/QuantumNous/new-api/pull/4929
- https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7
- https://github.com/advisories/GHSA-p845-629j-rcj6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-64859
New API: User List API Leaks Root User Access Token Leading to Privilege Escalation
critical9.1Aug 17, 2026CVE-2026-64865
New API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypass
medium6.0Aug 17, 2026CVE-2026-64868
New API: Unauthenticated payment webhooks allow memory and disk DoS via unbounded body reads and full-body logging
high7.5Aug 17, 2026CVE-2026-71479
New API: Integer overflow in quota billing yields negative charges (self-crediting)
critical9.1Aug 17, 2026CVE-2026-33655
New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs
high7.7Jul 7, 2026CVE-2026-44342
New API is vulnerable to CSRF through user email binding
medium5.3Jul 7, 2026
