Skip to main content

new-api EUVDEUVD-2026-68773

| CVE-2026-82909 LOW
Insufficient Session Expiration (CWE-613)
2026-08-31 VulDB GHSA-76j5-99cp-jhpp
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Retain revoked API token credential
  2. Exploit
    Send authenticated GET to /api/usage/token/
  3. Execution
    TokenAuthReadOnly skips disabled-token check
  4. Impact
    Server 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

new-api 1.0.0-rc.8
new-api 1.0.0-rc.6
new-api 1.0.0-rc.10
new-api 1.0.0-rc.4
new-api 1.0.0-rc.0
new-api 1.0.0-rc.2
new-api 1.0.0-rc.1
new-api 1.0.0-rc.5
new-api 1.0.0-rc.15
new-api 1.0.0-rc.13
new-api 1.0.0-rc.12
new-api 1.0.0-rc.14
new-api 1.0.0-rc.3
new-api 1.0.0-rc.7
new-api 1.0.0-rc.9
new-api 1.0.0-rc.11

Affected Packages

euvd new_api no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 31, 2026 - 21:22 NVD
MEDIUM LOW
CVSS changed
Aug 31, 2026 - 21:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 31, 2026 - 20:30 cve.org
LOW 2.1

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche AI API proxy, limited enterprise adoption
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy