{"answers":{"affected":"3 open source packages ship an affected version, including github.com/QuantumNous/new-api. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25591 exists.","fix":"Upgrade github.com/QuantumNous/new-api to 0.10.8-alpha.10 or later.","what":"CVE-2026-25591 is a high-severity denial of service vulnerability in QuantumNous new-api, published on 24 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25591 and fix it if it is affected.\n\nWhat it is: CVE-2026-25591 is a high-severity denial of service vulnerability in QuantumNous new-api, published on 24 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25591 exists.\n\nAffected packages and fixed versions:\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.10.8-alpha.10\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.10.8-alpha.10\n- github.com/QuantumNous/new-api (Go): affected all versions; fixed in 0.10.8-alpha.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25591/ (Markdown: https://insights.sbomify.com/CVE-2026-25591/index.md)","id":"CVE-2026-25591","markdown":"https://insights.sbomify.com/CVE-2026-25591/index.md","name":"CVE-2026-25591","record":{"aliases":["GHSA-w6x6-9fp7-fqm4","GO-2026-4531"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM gateway","requires_auth":"low_privilege","summary":"Authenticated users can cause denial of service in New API by injecting SQL wildcards into token search parameters, exhausting database resources.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"new_api","vendor":"newapi"}],"cvss":{"score":7.1,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"New API has an SQL LIKE Wildcard Injection DoS via Token Search","id":"CVE-2026-25591","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Semantic Kernel has an Arbitrary File Write via AI Agent Function Calling in .NET SDK","id":"CVE-2026-25592"},"packages":[{"ecosystem":"Go","fixed":["0.10.8-alpha.10"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":null,"source":"GHSA-w6x6-9fp7-fqm4"},{"ecosystem":"Go","fixed":["0.10.8-alpha.10"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GHSA-w6x6-9fp7-fqm4"},{"ecosystem":"Go","fixed":["0.10.8-alpha.10"],"introduced":["0"],"last_affected":[],"package":"github.com/QuantumNous/new-api","purl":"pkg:golang/github.com/QuantumNous/new-api","source":"GO-2026-4531"}],"prev":{"headline":"GLPI Inventory Plugin has Reflected XSS in task jobs","id":"CVE-2026-25590"},"products":["new-api"],"published":"2026-02-24","related":[{"cvss_score":8.8,"headline":"Cross-site scripting in n/a","id":"CVE-2025-55573","kev_date_added":null,"published":"2025-08-22"},{"cvss_score":7.7,"headline":"New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs","id":"CVE-2026-33655","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.6,"headline":"New API has Potential XSS in its MarkdownRenderer component","id":"CVE-2026-25802","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":7.1,"headline":"New API: Stripe Webhook Signature Bypass via Empty Secret Enables Unlimited Quota Fraud","id":"CVE-2026-41432","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":7.1,"headline":"New API: SSRF Filter Bypass via 0.0.0.0","id":"CVE-2026-42339","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":6.5,"headline":"New API: IDOR in VideoProxy allows cross-user video content access via missing ownership check","id":"CVE-2026-30886","kev_date_added":null,"published":"2026-03-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["QuantumNous"]},"summary":"Authenticated users can cause denial of service in New API by injecting SQL wildcards into token search parameters, exhausting database resources.","url":"https://insights.sbomify.com/CVE-2026-25591/"}