CVE-2026-25591 New API has an SQL LIKE Wildcard Injection DoS via Token Search
HighCVSS 7.1
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| quantumnous new-api(Go) | < 0.10.8-alpha.10 | 0.10.8-alpha.10 |
| quantumnous new-api | = < 0.10.8-alpha.10 | No fix listed |
| newapi new api | < 0.10.8 | 0.10.8 |
| newapi new api | = 0.10.8-alpha1 | No fix listed |
| newapi new api | = 0.10.8-alpha2 | No fix listed |
| newapi new api | = 0.10.8-alpha3 | No fix listed |
| newapi new api | = 0.10.8-alpha4 | No fix listed |
| newapi new api | = 0.10.8-alpha5 | No fix listed |
| newapi new api | = 0.10.8-alpha6 | No fix listed |
| newapi new api | = 0.10.8-alpha7 | No fix listed |
| newapi new api | = 0.10.8-alpha8 | No fix listed |
| newapi new api | = 0.10.8-alpha9 | No fix listed |
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5 patch
- github.com product
- https://github.com/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10 product
- pkg.go.dev
- github.com