QuantumNous new-api
New 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.10.8-alpha.10
Fixed in 0.10.8-alpha.10
Mitigation
Upgrade new-api to 0.10.8-alpha.10 or later.
References
- Vendor advisory github.com/QuantumNous/new-api/security/adviso…
- Patch github.com/QuantumNous/new-api/commit/3e1be183…
- Release notes github.com/QuantumNous/new-api/releases/tag/v0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.