QuantumNous new-api
New API: User List API Leaks Root User Access Token Leading to Privilege Escalation
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CNA · CWE-200
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
QuantumNous new-api
- < 1.0.0-rc.7
Fixed in 1.0.0-rc.7
Mitigation
Upgrade new-api to 1.0.0-rc.7 or later.
References
- Vendor advisory github.com/QuantumNous/new-api/security/adviso…
- Patch github.com/QuantumNous/new-api/pull/4929
- Patch github.com/QuantumNous/new-api/commit/0936e250…
1 more
- Release notes github.com/QuantumNous/new-api/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.