Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/QuantumNous/new-api
  4. ›
  5. CVE-2026-64859

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

August 17, 2026

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 →

Affected versions

All versions before 1.0.0-rc.7

Fixed versions

  • 1.0.0-rc.7

Solution

Upgrade to version 1.0.0-rc.7 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/QuantumNous/new-api/CVE-2026-64859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:18:10 +0000.