CVE-2026-25591: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in QuantumNous new-api
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.10.8-alpha.10, a SQL LIKE wildcard injection vulnerability in the `/api/token/search` endpoint allows authenticated users to cause denial of service through resource exhaustion by crafting malicious search patterns. The token search endpoint accepts user-supplied `keyword` and `token` parameters that are directly concatenated into SQL LIKE clauses without escaping wildcard characters (`%`, `_`). This allows attackers to inject patterns that trigger expensive database queries. Version 0.10.8-alpha.10 contains a patch.
AI Analysis
Technical Summary
QuantumNous new-api, an AI asset management and LLM gateway system, contains a vulnerability identified as CVE-2026-25591, classified under CWE-943 for improper neutralization of special elements in data query logic. The vulnerability affects versions prior to 0.10.8-alpha.10 and resides in the /api/token/search endpoint. This endpoint accepts user-supplied parameters 'keyword' and 'token' which are directly concatenated into SQL LIKE clauses without escaping wildcard characters such as '%' and '_'. Because these characters have special meanings in SQL LIKE queries, an attacker with valid authentication can inject complex wildcard patterns that cause the database to perform highly expensive pattern matching operations. This leads to resource exhaustion, resulting in denial of service (DoS) conditions. The vulnerability requires authentication but no additional user interaction. The CVSS v4.0 score is 7.1 (high severity), reflecting network attack vector, low attack complexity, no privileges beyond authentication, no user interaction, and a high impact on availability. The vendor patched this issue in version 0.10.8-alpha.10 by implementing proper escaping of wildcard characters in user inputs to prevent injection of malicious patterns. No public exploits have been reported yet, but the vulnerability poses a significant risk to availability for organizations using affected versions.
Potential Impact
The primary impact of CVE-2026-25591 is denial of service through resource exhaustion of backend databases. Organizations running vulnerable versions of QuantumNous new-api may experience degraded performance or complete service outages when attackers exploit the SQL LIKE wildcard injection to trigger expensive queries. This can disrupt AI asset management workflows and LLM gateway operations, potentially halting critical AI-driven processes. Since the vulnerability requires authentication, insider threats or compromised credentials increase risk. The attack does not compromise data confidentiality or integrity but can severely impact system availability and operational continuity. Large-scale or repeated exploitation could strain infrastructure resources, increase operational costs, and damage organizational reputation. Given the growing adoption of AI management platforms, affected organizations worldwide could face significant operational disruptions if unpatched.
Mitigation Recommendations
Organizations should immediately upgrade QuantumNous new-api to version 0.10.8-alpha.10 or later, where the vulnerability is patched. If immediate upgrading is not feasible, implement input validation and sanitization on the keyword and token parameters to escape or reject SQL wildcard characters ('%', '_') before they reach the database layer. Employ database query parameterization or prepared statements to avoid direct concatenation of user inputs into SQL queries. Monitor and restrict authenticated user access to the /api/token/search endpoint, applying the principle of least privilege. Implement rate limiting and anomaly detection on search requests to identify and block patterns indicative of resource exhaustion attacks. Regularly audit logs for unusual query patterns and resource usage spikes. Finally, ensure robust credential management and multi-factor authentication to reduce the risk of credential compromise that could enable exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, France, Japan, South Korea, Australia, Netherlands, India
CVE-2026-25591: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in QuantumNous new-api
Description
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.10.8-alpha.10, a SQL LIKE wildcard injection vulnerability in the `/api/token/search` endpoint allows authenticated users to cause denial of service through resource exhaustion by crafting malicious search patterns. The token search endpoint accepts user-supplied `keyword` and `token` parameters that are directly concatenated into SQL LIKE clauses without escaping wildcard characters (`%`, `_`). This allows attackers to inject patterns that trigger expensive database queries. Version 0.10.8-alpha.10 contains a patch.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
QuantumNous new-api, an AI asset management and LLM gateway system, contains a vulnerability identified as CVE-2026-25591, classified under CWE-943 for improper neutralization of special elements in data query logic. The vulnerability affects versions prior to 0.10.8-alpha.10 and resides in the /api/token/search endpoint. This endpoint accepts user-supplied parameters 'keyword' and 'token' which are directly concatenated into SQL LIKE clauses without escaping wildcard characters such as '%' and '_'. Because these characters have special meanings in SQL LIKE queries, an attacker with valid authentication can inject complex wildcard patterns that cause the database to perform highly expensive pattern matching operations. This leads to resource exhaustion, resulting in denial of service (DoS) conditions. The vulnerability requires authentication but no additional user interaction. The CVSS v4.0 score is 7.1 (high severity), reflecting network attack vector, low attack complexity, no privileges beyond authentication, no user interaction, and a high impact on availability. The vendor patched this issue in version 0.10.8-alpha.10 by implementing proper escaping of wildcard characters in user inputs to prevent injection of malicious patterns. No public exploits have been reported yet, but the vulnerability poses a significant risk to availability for organizations using affected versions.
Potential Impact
The primary impact of CVE-2026-25591 is denial of service through resource exhaustion of backend databases. Organizations running vulnerable versions of QuantumNous new-api may experience degraded performance or complete service outages when attackers exploit the SQL LIKE wildcard injection to trigger expensive queries. This can disrupt AI asset management workflows and LLM gateway operations, potentially halting critical AI-driven processes. Since the vulnerability requires authentication, insider threats or compromised credentials increase risk. The attack does not compromise data confidentiality or integrity but can severely impact system availability and operational continuity. Large-scale or repeated exploitation could strain infrastructure resources, increase operational costs, and damage organizational reputation. Given the growing adoption of AI management platforms, affected organizations worldwide could face significant operational disruptions if unpatched.
Mitigation Recommendations
Organizations should immediately upgrade QuantumNous new-api to version 0.10.8-alpha.10 or later, where the vulnerability is patched. If immediate upgrading is not feasible, implement input validation and sanitization on the keyword and token parameters to escape or reject SQL wildcard characters ('%', '_') before they reach the database layer. Employ database query parameterization or prepared statements to avoid direct concatenation of user inputs into SQL queries. Monitor and restrict authenticated user access to the /api/token/search endpoint, applying the principle of least privilege. Implement rate limiting and anomaly detection on search requests to identify and block patterns indicative of resource exhaustion attacks. Regularly audit logs for unusual query patterns and resource usage spikes. Finally, ensure robust credential management and multi-factor authentication to reduce the risk of credential compromise that could enable exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-03T01:02:46.716Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 699cfc3cbe58cf853bfd2f48
Added to database: 2/24/2026, 1:17:48 AM
Last enriched: 3/3/2026, 8:34:10 PM
Last updated: 4/10/2026, 3:15:22 AM
Views: 87
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.