---
id: CVE-2026-64859
title: >-
  New API is a large language mode (LLM) gateway and artificial intelligence
  (AI) asset management system
summary: >-
  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 bec…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-200
vendor: QuantumNous
product: github.com/QuantumNous/new-api
affected:
  - github.com/QuantumNous/new-api < 1.0.0-rc.7
patched:
  - github.com/QuantumNous/new-api 1.0.0-rc.7
published: '2026-08-17'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64859'
references:
  - url: >-
      https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3
    label: security-advisories@github.com
  - url: 'https://github.com/QuantumNous/new-api/pull/4929'
    label: security-advisories@github.com
  - url: 'https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7'
    label: security-advisories@github.com
  - url: >-
      https://github.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-6x2c-phff-wx57'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00626
epssPercentile: 0.47716
aliases:
  - GHSA-6x2c-phff-wx57
ecosystem: go
ingestedAt: '2026-08-17T16:57:25.565Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-64859)

Affected packages:

- `github.com/QuantumNous/new-api < 1.0.0-rc.7`

Patched in:

- `github.com/QuantumNous/new-api 1.0.0-rc.7`

Source: https://github.com/advisories/GHSA-6x2c-phff-wx57
