CVE-2026-25591
New API has an SQL LIKE Wildcard Injection DoS via Token Search
HIGH 7.1EPSS 0.7%
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
- QuantumNous · new-api
- CVSS v4.0 GITHUB
- 7.1 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v4.0 GitHub
- 7.1 HIGH
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 - CVSS v3.1 NVD
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.66% chance of exploitation in the next 30 days, 51st percentile
- Published
- 2026-02-24
- Updated
- 2026-02-26
Proof-of-concept exploits (1)
Security advisories
- QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4
- QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5