CVE-2026-25591
HIGH 7.1CVSS 4.0New API has an SQL LIKE Wildcard Injection DoS via Token Search
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.
- Published
- 24 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-943
- Also known as
- GHSA-w6x6-9fp7-fqm4GO-2026-4531
- Sources
- NVDJSONOSV GHSA-w6x6-9fp7-fqm4JSONOSV GO-2026-4531JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:*:*:*:*:*:*:*:* |
< 0.10.8 | 0.10.8 |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha1:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha2:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha3:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha4:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha5:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha6:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha7:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha8:*:*:*:*:*:* |
= 0.10.8 | |
| NVD | newapi | new_apicpe:2.3:a:newapi:new_api:0.10.8:alpha9:*:*:*:*:*:* |
= 0.10.8 | |
| OSV | Go | github.com/QuantumNous/new-api | < 0.10.8-alpha.10 | 0.10.8-alpha.10 |
References
- https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5 · Patch, WEB, FIX
- https://github.com/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10 · Product, WEB
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4 · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-25591 · ADVISORY
- https://github.com/QuantumNous/new-api · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4531 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Feb 2026)