Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege user account
-
DeliverySend rapid repeated PUT /api/user/self preference updates
-
ExploitSimultaneously trigger quota-consuming LLM relay requests
-
ExecutionStale full User snapshot write via RedisHSetObj overwrites concurrent HINCRBY billing deductions
-
PersistCached quota balance remains artificially high
-
ImpactContinue making API calls beyond paid quota limit
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) a valid authenticated account with at minimum low privileges (PR:L confirmed by CVSS 4.0 vector) - anonymous access is insufficient; (2) Redis quota caching must be enabled in the deployment (AT:P in CVSS 4.0 explicitly encodes this as an attack requirement - deployments relying solely on database-backed quota checks are not affected by this race path); and (3) the attacker must successfully time PUT /api/user/self settings updates to race concurrently executing billing HINCRBY operations (AC:H), requiring sustained concurrent request volume rather than a single crafted packet. Exploitation is limited to New API versions ≤ 1.0.0-rc.15 with Redis enabled. Deployments where Redis caching is disabled, or where PUT /api/user/self is rate-limited aggressively, have a substantially reduced but not eliminated risk window. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L) scores 6.0 (Medium), which accurately reflects real-world priority. High attack complexity (AC:H) is warranted because successful exploitation requires winning a race between two concurrent Redis write paths - attackers must sustain rapid PUT /api/user/self requests while simultaneously triggering quota-consuming relay calls, making reliable exploitation non-trivial. The AT:P metric confirms Redis caching must be enabled, limiting the attack surface to deployments that have opted into Redis-backed quota enforcement. Authentication is required (PR:L confirmed by CVSS). Integrity impact is High (VI:H) because quota bypass directly translates to untracked financial costs for operators. There is no KEV listing and no public POC, and no EPSS data was provided in the input. The gap between authentication consumption using cached quota and DB/log usage accumulating unchecked is the core financial risk signal. Overall: a real, exploitable issue for multi-tenant Redis-enabled deployments, but not a broad emergency - upgrade priority should be high for any operator charging users based on quota. |
| Exploit ScenarioDerived | An authenticated user opens two concurrent execution paths: one thread sends high-frequency PUT /api/user/self requests cycling language or sidebar_modules settings, while a second thread issues LLM relay requests that trigger HINCRBY quota deductions. Each settings update reads a stale User snapshot with the original (high) quota value and writes it back via RedisHSetObj, overwriting the HINCRBY deductions applied between the DB read and Redis write. By sustaining this pattern, the attacker keeps their cached quota near the original value and continues making API calls far beyond their paid allocation until a DB reconciliation exposes the discrepancy. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Quota bypass via Redis cache race condition in New API (QuantumNous LLM gateway) allows any authenticated low-privilege user to keep their cached quota balance artificially inflated by flooding PUT /api/user/self with settings updates while concurrently consuming quota. The settings update path reads a stale full User snapshot and writes it back via RedisHSetObj, atomically overwriting HINCRBY billing deductions applied by concurrent relay requests to the same Redis hash key. No public exploit has been identified and the vulnerability is not listed in CISA KEV; however, the financial integrity impact on operators is concrete, as affected users can make LLM API calls well beyond their paid allocation without detection until a database reconciliation occurs.
RemediationAI
Upgrade to New API v1.0.0-rc.16 or later, available at https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16; the patch commit is dfc0d6324b40c1d6c2972e524409f933541bfb0f. After upgrading, the GHSA advisory explicitly recommends restarting all application instances to eliminate stale in-process code paths. If immediate upgrade is not possible, operators should rate-limit or temporarily block PUT /api/user/self to reduce the race window; note this is a mitigation only and does not close the race - it merely reduces exploitation frequency. A more aggressive workaround is disabling Redis quota caching entirely, which eliminates the vulnerable code path but degrades request latency and shifts quota enforcement to database queries, impacting throughput under load. Neither workaround is a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
New API is a Go-based LLM API gateway that caches user state - including quota balances - in Redis hashes keyed as user:<id>. Billing deductions use atomic Redis HINCRBY operations on the Quota field, preserving transactional integrity under concurrent requests. The vulnerable code path in controller/user.go (UpdateSelf) reads the full User struct from the database, sets new preference fields (language, sidebar_modules), then calls User.Update() which ultimately invokes updateUserCache() using RedisHSetObj - a full hash overwrite. This creates a classic TOCTOU race (CWE-362): the stale Quota value embedded in the snapshot silently clobbers HINCRBY deductions applied between the DB read and the Redis write. The fix (commit dfc0d63) replaces full-snapshot updates with field-scoped model.UpdateUserSetting(), and refactors updateUserCache() to explicitly omit quota, used_quota, and request_count fields so atomic billing paths retain sole ownership of those Redis fields.
Know when the next one hits your stack
- 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:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Network-reachable endpoint requires authenticated low-privilege user (PR:L) and successful race timing (AC:H); quota overwrite is high integrity impact, minor availability impact from quota exhaustion side effects, no confidentiality loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.16, repeated PUT /api/user/self requests that update language or sidebar_modules can race relay billing because controller/user.go calls User.Update and updateUserCache performs a full RedisHSetObj write to user:.Quota, overwriting concurrent HINCRBY deductions and allowing an authenticated user to keep cached quota artificially high. This issue is fixed in version 1.0.0-rc.16.
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.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
Same weakness CWE-362 – Race Condition
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-60263
GHSA-j6gc-4893-qwmp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB