CVE-2026-9065 Surecart - SQL Injection
Authenticated attackers can extract database contents via SQL injection in the SureCart WordPress plugin REST API.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-9065?
CVE-2026-9065 is a critical SQL injection vulnerability in brainstormforce Surecart, published on 20 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
SureCart version prior to 4.2.1 are vulnerable to authenticated SQL injection via multiple parameters ('model_name', 'model_id', 'integration_id', 'provider') on the REST API endpoint '/surecart/v1/integrations/{id}'.
The root cause is a flawed escaping bypass in the query builder ('wp-query-builder'). Values passed to the 'where()' method are only sanitized via '$wpdb->prepare()' when they do **not** contain a dot ('.') or the WordPress table prefix ('wp_'). By including a dot anywhere in the payload, an attacker completely bypasses the escaping logic and injects arbitrary SQL into the 'WHERE' clause, allowing full UNION-based extraction of the database.
Weakness: CWE-89
Which versions are affected by CVE-2026-9065?
How do I fix CVE-2026-9065?
No fix has been published for CVE-2026-9065 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-9065 being exploited?
There is no known exploitation of CVE-2026-9065 in the wild and no public exploit code.
Sources
Also known as GHSA-qp65-j7f9-qv73.