medium5.1
CVE-2026-64866
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/QuantumNous/new-api | >= 0.9.1.3, < 1.0.0-rc.7 | 1.0.0-rc.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p845-629j-rcj6
- 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