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.
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/resetpasskey at the reverse proxy or gateway except for root operators.
References
- Fixed by commit 0936e2504655a5cbf7bc3c388f6d3e2bb24916d3. - Relevant code paths: controller/passkey.go, controller/twofa.go, and router/api-router.go.
Other sources
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/resetpasskey, 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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/QuantumNous/new-apito a version that resolves this vulnerability.Fixed in 1.0.0-rc.7 - Upgrade
Upgrade
New API (LLM gateway and AI asset management system)to a version that resolves this vulnerability.Fixed in 1.0.0-rc.7Patch 0936e2504655a5cbf7bc3c388f6d3e2bb24916d3 - Compensating control
If upgrading immediately is not possible, restrict admin access to trusted operators only and block the request path `DELETE /api/user/:id/reset_passkey` at the reverse proxy or gateway except for root operators.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64866?
The severity of CVE-2026-64866 is rated at 62, indicating a moderate risk.
How do I fix CVE-2026-64866?
To fix CVE-2026-64866, update to the latest version of the New API that includes the authorization checks for the AdminResetPasskey feature.
What are the potential impacts of CVE-2026-64866?
The impacts of CVE-2026-64866 include unauthorized users potentially resetting passkeys for higher-privileged users, leading to privilege escalation.
Which software is affected by CVE-2026-64866?
CVE-2026-64866 affects the New API LLM gateway and AI asset management system from versions 0.9.1.3 until 1.0.0-rc.7.
When was CVE-2026-64866 published?
CVE-2026-64866 was published on August 17, 2026.