CVE-2026-64859: New API: User List API Leaks Root User Access Token Leading to Privilege Escalation
In affected versions of new-api, the admin user list and user lookup APIs can return the access_token field for users, including the root user. An authenticated admin user can call endpoints such as GET /api/user/ to retrieve user records. Because access tokens function as bearer credentials for API authentication, leaking the root user’s access token allows an admin user to authenticate as root and access root-only endpoints such as system configuration APIs.
This bypasses the intended role boundary between admin users and the root user and can result in privilege escalation to full system control.
References
- github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3
- github.com/QuantumNous/new-api/pull/4929
- github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7
- github.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57
- github.com/advisories/GHSA-6x2c-phff-wx57
- nvd.nist.gov/vuln/detail/CVE-2026-64859
Code Behaviors & Features
Detect and mitigate CVE-2026-64859 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →