{"id":"CVE-2026-25591","published":"2026-02-24T00:41:30Z","modified":"2026-02-26T14:57:18Z","title":"New API has an SQL LIKE Wildcard Injection DoS via Token Search","vendor":"QuantumNous","product":"new-api","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00559,"percentile":0.47437,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5","tags":["x_refsource_MISC"]},{"url":"https://github.com/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.49},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"quantumnous","affectedVersions":[{"vendor":"QuantumNous","product":"new-api","versions":["< 0.10.8-alpha.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T14:56:53.649889Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/QuantumNous/new-api","vulnerableRanges":["<0.10.8-alpha.10"],"patched":["0.10.8-alpha.10"],"from":["GHSA-w6x6-9fp7-fqm4","GO-2026-4531"],"provenance":"source"}],"summary":{"text":"The new-api product from QuantumNous, an LLM gateway and AI asset management system, contains an SQL LIKE wildcard injection flaw in its /api/token/search endpoint, where the user-supplied keyword and token parameters are concatenated into SQL LIKE clauses without escaping the % and _ wildcard characters. An attacker with network access and a low-privilege authenticated account, requiring no user interaction, can submit crafted search patterns that trigger expensive database queries and exhaust resources, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:38Z"},"euvd":{"id":"EUVD-2026-7453","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-quantumnous-new-api-cve-2026-25591","children":[{"from":"CVE-2026-25591","to":"CVE-2026-64865","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["router/api-router.go"],"commits":["https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5","https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f"],"basis":"shared function","functions":["SetApiRouter"]}]},{"from":"CVE-2026-25591","to":"CVE-2026-64868","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["router/api-router.go"],"commits":["https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5","https://github.com/QuantumNous/new-api/commit/d2f7f9ee3adf3ef66798783a60d7bc712451c85c"],"basis":"shared function","functions":["SetApiRouter"]}]}],"packageHistory":[{"cve":"CVE-2025-62155","published":"2025-11-24","fixed":"0.9.6","kev":false},{"cve":"CVE-2026-25591","published":"2026-02-24","fixed":"0.10.8-alpha.10","kev":false},{"cve":"CVE-2026-25802","published":"2026-02-24","fixed":"0.10.8-alpha.9","kev":false,"link":{"from":"CVE-2026-25591","to":"CVE-2026-25802","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/QuantumNous/new-api","fromFixed":"0.10.8-alpha.10","toFixed":"0.10.8-alpha.9","daysApart":0}]}},{"cve":"CVE-2026-30886","published":"2026-03-23","fixed":"0.11.4-alpha.2","kev":false},{"cve":"CVE-2026-33655","published":"2026-07-09","fixed":"0.12.0-alpha.1","kev":false}],"package":"Go:github.com/QuantumNous/new-api"}}