Skip to main content

QuantumNous new-api CVE-2026-9305

| EUVDEUVD-2026-31541 LOW
SQL Injection (CWE-89)
2026-05-23 VulDB GHSA-hqv7-8cjm-q98x
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid low-privilege credentials
  2. Delivery
    Access self endpoint
  3. Exploit
    Submit crafted SQL payload to SearchUserTopUps/SearchAllTopUps
  4. Execution
    Inject malicious SQL commands
  5. Impact
    Extract 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

new-api 0.12.0
new-api 0.12.1

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

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

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

Lifecycle Timeline

2
Severity Changed
May 26, 2026 - 19:52 NVD
MEDIUM LOW
CVSS changed
May 26, 2026 - 19:52 NVD
6.3 (MEDIUM) 2.1 (LOW)

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

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.0%
Patch available No
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· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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