CVE-2026-25591 json
New API has an SQL LIKE Wildcard Injection DoS via Token Search
published 2026-02-23 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-7453 , GHSA-w6x6-9fp7-fqm4 , GO-2026-4531
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/QuantumNous/new-api 0.10.8-alpha.10
- newapi new_api 0.10.8-alpha.10
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260226T182644-150000.1.149.1
suse advisories SUSE-SU-2026:0757-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/QuantumNous/new-api | <0.10.8-alpha.10 |
0.10.8-alpha.10 |
Affected products
- QuantumNous new-api
Classification
- Weakness
-
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
-
github.com
/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5
web, patch
-
github.com
/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4
web, exploit, mitigation, vendor-advisory, advisory
-
github.com
/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2026-25591
advisory
-
github.com
/QuantumNous/new-api
package
-
pkg.go.dev
/vuln/GO-2026-4531
web
Sources
- CVE List CVE-2026-25591
- GitHub Advisory GHSA-w6x6-9fp7-fqm4
- NVD CVE-2026-25591
- OSV GO-2026-4531
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.