Vulnerability · Published Aug 17, 2026 · Assigned by GitHub_M
CVE-2026-64859New API: User List API Leaks Root User Access Token Leading to Privilege Escalation
Critical 9.1
In plain English
A critical-severity information exposure in new-api from QuantumNous. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.7, the admin user list and user lookup APIs, including GET /api/user/, return User.AccessToken as access_token because User model objects are serialized after queries use Omit("password"), allowing an authenticated administrator to obtain the root user's bearer token and access root-only system configuration APIs. This issue is fixed in version 1.0.0-rc.7.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/QuantumNous/new-api | 1.0.0-rc.7 | GHSA-6x2c-phff-wx57 |
| Go | github.com/QuantumNous/new-api | 1.0.0-rc.7 | GO-2026-6240 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 1.0.0-rc.7 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57 x_refsource_CONFIRM
- https://github.com/QuantumNous/new-api/pull/4929 x_refsource_MISC
- https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3 x_refsource_MISC
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7 x_refsource_MISC