Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M
CVE-2026-25591New API has an SQL LIKE Wildcard Injection DoS via Token Search
High 7.1
In plain English
A high-severity security flaw in new-api from QuantumNous. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/QuantumNous/new-api | 0.10.8-alpha.10 | GHSA-w6x6-9fp7-fqm4 |
| Go | github.com/QuantumNous/new-api | 0.10.8-alpha.10 | GO-2026-4531 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 0.10.8-alpha.10 |
Weakness: CWE-943 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N