Paper/Archive/CVE-2026-64859

CVE-2026-64859

QuantumNous new-api — New API: User List API Leaks Root User Access Token Leading to Privilege Escalation

Description · from the CVE record

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

ProductAffectedFixed inSource
new-api< 1.0.0-rc.7–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57refgithub.com/QuantumNous/new-api/pull/4929refgithub.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3refgithub.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7