Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRetain revoked API token credential
-
ExploitSend authenticated GET to /api/usage/token/
-
ExecutionTokenAuthReadOnly skips disabled-token check
-
ImpactServer returns token usage log data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires the attacker to possess a previously issued new-api API token that has been explicitly set to the disabled/revoked status in the system - a revoked-but-known credential. The /api/usage/token/ endpoint must be network-reachable from the attacker. No special server-side configuration beyond a default new-api deployment is required for the vulnerable code path to be active. Exploitation is inherently self-limiting: only former token holders (e.g., ex-employees, owners of a previously leaked credential) can trigger it, and the accessible data is scoped to the usage logs associated with that token. The CVSS 4.0 PR:L rating reflects this credential prerequisite. There is no path to write access or availability impact through this vector. |
| Impact | The CVSS 4.0 base score of 2.1 accurately characterizes the limited blast radius of this vulnerability. The attacker must already possess a formerly valid, now-revoked API token (PR:L), and the only observable impact is low-confidentiality disclosure of usage log data (VC:L) with zero integrity or availability consequences. No EPSS score is provided in the input, so exploitation probability cannot be quantified numerically. A public POC exists but no CISA KEV listing is present, indicating no confirmed widespread exploitation - likely because the attack surface is inherently self-limiting to former token holders. The most realistic risk scenario involves revoked credentials from a leaked or departing-employee situation, where token revocation was the intended security boundary. Organizations relying on token revocation as an access-termination control face the highest realistic exposure, even though the disclosable data (a user's own usage logs) is low sensitivity. |
| Exploit ScenarioDerived | An attacker who previously held a valid new-api token - for example, a former employee or the holder of a leaked credential that was subsequently revoked - retains the token string and sends an authenticated HTTP GET request to /api/usage/token/ on a vulnerable instance. Because the TokenAuthReadOnly middleware did not check for disabled token status before the patch, the server returns usage log data without error. A public POC demonstrating this flow is available at https://github.com/yaowenxiao721/Poc/blob/main/New-API/new-api-poc1.md. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Revoked API token enforcement is absent in QuantumNous new-api up to 1.0.0-rc.15, allowing a holder of a disabled token to query read-only endpoints such as /api/usage/token/ and retrieve usage log data. The root cause (CWE-613, Insufficient Session Expiration) lies in the TokenAuthReadOnly middleware in middleware/auth.go, which skipped the disabled-token status check entirely before the patch. A public POC is available; no active exploitation is confirmed in CISA KEV, and the CVSS 4.0 score of 2.1 reflects the narrow, low-impact attack surface.
RemediationAI
Upgrade to new-api v1.0.0-rc.17 or later, which incorporates the fix from commit 0d5995eb63f8801d32eb32fbe74b75b68752bfa9 (https://github.com/QuantumNous/new-api/commit/0d5995eb63f8801d32eb32fbe74b75b68752bfa9). If an immediate upgrade is not feasible, administrators can restrict network-level access to the /api/usage/token/ endpoint via a reverse proxy or firewall rule, accepting the trade-off that active token holders will also lose access to usage logs until the patch is applied. No other compensating controls are known to address the missing middleware check without modifying the source code.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
new-api (CPE: cpe:2.3:a:quantumnous:new-api) is a Go-based API gateway and proxy for managing AI model API keys, built on the Gin web framework. The root cause is CWE-613 (Insufficient Session Expiration): the TokenAuthReadOnly() middleware function in middleware/auth.go did not include a check for token.Status == common.TokenStatusDisabled. As a result, explicitly revoked tokens were still accepted by the read-only authentication path, allowing them to reach the /api/usage/token/ usage log endpoint. The fix introduced in commit 0d5995eb63f8801d32eb32fbe74b75b68752bfa9 adds an explicit disabled-status gate that returns HTTP 401 and aborts the request before any data is served.
Know when New Api gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable endpoint requires a revoked but valid token credential (PR:L); only usage log confidentiality is affected (C:L), with no integrity or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in QuantumNous new-api up to 1.0.0-rc.15. Affected by this issue is some unknown functionality of the file /api/usage/token/ of the component Revoked API Token Handler. Executing a manipulation can lead to session expiration. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. Upgrading to version 1.0.0-rc.17 can resolve this issue. This patch is called 0d5995eb63f8801d32eb32fbe74b75b68752bfa9. The affected component should be upgraded.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
New API LLM gateway versions before 0.10.8-alpha.9 are vulnerable to stored cross-site scripting through the MarkdownRen
Denial of service in New API's `/api/token/search` endpoint allows authenticated users to exhaust database resources thr
Authorization bypass in QuantumNous new-api versions up to 0.12.1 allows remote attackers to access Midjourney image rel
An Insecure Direct Object Reference (IDOR) vulnerability exists in New API versions prior to 0.11.4-alpha.2, a large lan
SQL injection in QuantumNous new-api versions up to 0.12.1 allows authenticated remote attackers to manipulate database
A logic flaw in New API's universal secure verification flow allows authenticated users with registered passkeys to bypa
QuantumNous new-api v.0.8.5.2 is vulnerable to Cross Site Scripting (XSS). Rated high severity (CVSS 8.8), this vulnerab
EUVD-2026-68773
GHSA-76j5-99cp-jhpp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB