Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-privilege credentials
-
DeliveryAccess self endpoint
-
ExploitSubmit crafted SQL payload to SearchUserTopUps/SearchAllTopUps
-
ExecutionInject malicious SQL commands
-
ImpactExtract or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access with low-level user privileges (PR:L) to the QuantumNous new-api application. Attackers must have valid credentials to reach the self endpoint where SearchUserTopUps and SearchAllTopUps functions are exposed. The vulnerable functions must be accessible through the application's routing configuration, specifically the topup search feature in the self endpoint. No special configuration beyond default deployment is required - standard installations with authentication enabled are vulnerable. The absence of input validation or parameterized queries in model/topup.go enables exploitation. Attack limitations include: authentication requirement prevents anonymous exploitation, unchanged scope (S:U) restricts impact to the application's security context rather than underlying system, and low CIA impact (C:L/I:L/A:L) suggests database permissions or query context may limit the extent of data access or modification compared to full database compromise. |
| Impact | Real-world risk is moderate with elevated concern due to public exploit availability. CVSS 6.3 reflects medium severity with network attack vector (AV:N), low complexity (AC:L), and low privileges required (PR:L), indicating authenticated users can remotely exploit this without technical barriers. The CVSS temporal metrics show proof-of-concept exploit exists (E:P) with reported reliability (RC:R) and no official remediation timeline (RL:X). Most critically, a functional exploit has been published on GitHub (https://gist.github.com/YLChen-007/cf501d0a66c81298b2f97e854f3813db), significantly lowering the skill threshold for exploitation. However, exploitation requires authenticated access (PR:L), which provides some defensive friction compared to unauthenticated vulnerabilities. The vendor's non-response to disclosure attempts raises concern about patch availability and ongoing support. Impact is limited to low confidentiality, integrity, and availability (C:L/I:L/A:L) within unchanged scope (S:U), suggesting attackers can extract or modify data within the application's permission boundaries rather than achieving full system compromise. Organizations running new-api versions ≤0.12.1 with exposed self endpoints should prioritize remediation, especially if the application handles sensitive financial or user data in the topup system. |
| Exploit ScenarioDerived | An authenticated attacker with low-level credentials logs into the QuantumNous new-api application and navigates to the self endpoint's topup search functionality. They craft a malicious HTTP request to SearchUserTopUps or SearchAllTopUps, injecting SQL syntax such as ' OR 1=1-- or UNION SELECT statements into search parameters. The vulnerable model/topup.go code concatenates this input directly into SQL queries without sanitization, causing the database to execute the attacker's commands alongside legitimate query logic. The attacker extracts sensitive user data, topup transaction records, or authentication tokens from database tables, modifies financial balances, or causes service degradation through resource-intensive queries. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 23, 2026
SQL injection in QuantumNous new-api versions up to 0.12.1 allows authenticated remote attackers to manipulate database queries through the SearchUserTopUps and SearchAllTopUps functions in the self endpoint. The vulnerability exists in model/topup.go with confirmed public exploit code available on GitHub. With EPSS data unavailable and CVSS 6.3 (medium severity), the primary risk stems from the low-complexity exploitation requiring only low-level authentication, enabling attackers to exfiltrate sensitive data, modify records, or potentially execute denial-of-service attacks against the database layer.
RemediationAI
No vendor-released patch has been identified at time of analysis, as the vendor did not respond to early disclosure attempts per the CVE description and no fix version is documented in available intelligence sources. Organizations should implement immediate compensating controls: First, restrict network access to the self endpoint containing SearchUserTopUps and SearchAllTopUps functions using firewall rules or reverse proxy ACLs to trusted IP ranges only, understanding this limits legitimate remote access. Second, implement Web Application Firewall (WAF) rules targeting SQL injection patterns in requests to /topup or /self endpoints, with careful tuning to avoid false positives on legitimate search queries. Third, enforce principle of least privilege by reviewing user authentication tokens and restricting low-privilege accounts from accessing topup search functionality if business logic permits, though this may impact user experience. Fourth, enable comprehensive SQL query logging and monitoring to detect exploitation attempts showing UNION, SELECT, OR 1=1, or other SQLi indicators in search parameters. Consider engaging application security consultants to develop and apply a source code patch for model/topup.go implementing parameterized queries or ORM-based database access. Monitor the project repository and VulDB advisories (https://vuldb.com/vuln/365252/cti) for vendor updates, though continued vendor silence suggests evaluating alternative API gateway solutions for long-term risk management.
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
This is a classic SQL injection vulnerability (CWE-89) in the QuantumNous new-api Go application, specifically affecting the topup model's search functions. The vulnerability resides in model/topup.go where the SearchUserTopUps and SearchAllTopUps functions process user input without proper sanitization or parameterized queries. As a Go-based API service (cpe:2.3:a:quantumnous:new-api), the application likely uses direct SQL string concatenation or unsafe query building methods when searching topup records through the self endpoint. SQL injection occurs when attacker-controlled input is directly embedded into SQL statements, allowing malicious actors to break out of the intended query context and inject arbitrary SQL commands. The network-accessible (AV:N) self endpoint accepts authenticated requests (PR:L) that can deliver crafted payloads to these vulnerable search functions, manipulating the underlying database queries without requiring complex attack techniques (AC:L).
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:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in QuantumNous new-api up to 0.12.1. The impacted element is the function SearchUserTopUps/SearchAllTopUps of the file model/topup.go of the component self Endpoint. This manipulation causes sql injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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
Revoked API token enforcement is absent in QuantumNous new-api up to 1.0.0-rc.15, allowing a holder of a disabled token
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-31541
GHSA-hqv7-8cjm-q98x
NVD
CVE.org
EPSS
VulDB
Exploit-DB