Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Newapi | New Api | < 0.10.8 |
Related Weaknesses (CWE)
References
- https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafPatch
- https://github.com/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10Product
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-25591?
CVE-2026-25591 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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/toke...
How severe is CVE-2026-25591?
CVE-2026-25591 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-25591?
Check the references section above for vendor advisories and patch information. Affected products include: Newapi New Api.