# CVE-2026-9305: QuantumNous new-api SQL injection in top-up search functions

Source: https://junglewise.ai/threats/cve-2026-9305-quantumnous-new-api-sql-injection-in-top-up-search-functions  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-23. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9305 · Severity: medium · CVSS 6.3 · Published 2026-05-23

QuantumNous new-api is a Go-based API component used for managing user accounts and financial top-up transactions. A security flaw in its search functionality allows logged-in users to submit specially crafted search queries that can overwhelm the database. This can lead to significant performance degradation or a complete service outage, preventing legitimate users from accessing their accounts or processing payments.

Technologies: [QuantumNous New API](https://junglewise.ai/threats/technologies/new-api). Vendors: [QuantumNous](https://junglewise.ai/threats/vendors/quantumnous).

## Quick answers

**Is CVE-2026-9305 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9305 being exploited in the wild.

**How severe is CVE-2026-9305?** Medium severity, with a CVSS score of 6.3, published 23 May 2026.

**Which products and versions are affected?** QuantumNous New API <= 0.12.1.

**Is there a fix for CVE-2026-9305?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-9305 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-9305?** Check whether you run QuantumNous New API at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in the SearchUserTopUps and SearchAllTopUps functions within model/topup.go. The application fails to escape SQL wildcard characters (such as % and _) in the 'keyword' parameter before concatenating them into a GORM 'LIKE' query. An authenticated remote attacker can provide a complex pattern of wildcards, forcing the database engine to perform expensive combinatorial backtracking. This results in high CPU consumption and exhaustion of database connections, leading to a Denial of Service (DoS). The vulnerability affects the /api/user/topup/self endpoint. No official patch has been released by the vendor as of the disclosure date.

## Affected products

- QuantumNous new-api <= 0.12.1

## Timeline

- 2026-04-06: disclosed: Initial researcher disclosure via GitHub Gist
- 2026-05-23: advisory: NVD/VulDB publication

## References

- [https://gist.github.com/YLChen-007/cf501d0a66c81298b2f97e854f3813db](https://gist.github.com/YLChen-007/cf501d0a66c81298b2f97e854f3813db)
- [https://vuldb.com/submit/812192](https://vuldb.com/submit/812192)
- [https://vuldb.com/submit/812195](https://vuldb.com/submit/812195)
- [https://vuldb.com/vuln/365252](https://vuldb.com/vuln/365252)
- [https://vuldb.com/vuln/365252/cti](https://vuldb.com/vuln/365252/cti)

## Related threats

- [QuantumNous new-api session expiration in Revoked API Token Handler](https://junglewise.ai/threats/cve-2026-82909-quantumnous-new-api-session-expiration-in-revoked-api-token)
- [QuantumNous New API integer overflow in quota billing](https://junglewise.ai/threats/cve-2026-71479-quantumnous-new-api-integer-overflow-in-quota-billing)
- [QuantumNous new-api unauthenticated payment webhook denial of service](https://junglewise.ai/threats/cve-2026-64868-quantumnous-new-api-unauthenticated-payment-webhook-denial-of)
- [QuantumNous new-api admin passkey reset privilege escalation](https://junglewise.ai/threats/cve-2026-64866-quantumnous-new-api-admin-passkey-reset-privilege-escalation)
- [QuantumNous new-api Redis quota cache race condition in user settings update](https://junglewise.ai/threats/cve-2026-64865-quantumnous-new-api-redis-quota-cache-race-condition-in-user)
