CVE-2026-9065

Surecart - SQL Injection

Published May 20, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SureCart versions before 4.2.1 contain an authenticated SQL injection flaw on the REST API endpoint '/surecart/v1/integrations/{id}'. By inserting a dot into payloads such as 'model_name', 'model_id', 'integration_id', or 'provider', the query builder bypasses the normal escaping mechanism, allowing an attacker to inject arbitrary SQL, including UNION statements that can retrieve database contents.

Affected Systems

The affected product is the Surecart e‑commerce plugin from brainstormforce, with all releases prior to version 4.2.1 vulnerable.

Risk and Exploitability

The CVSS score of 9.3 indicates severe impact. EPSS is not available and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires authenticated access to the REST API, so a user with sufficient privileges can leverage the flaw to exfiltrate sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Surecart to version 4.2.1 or later to fix the SQL injection
  • If a patch cannot be applied immediately, use a web application firewall to block requests to '/surecart/v1/integrations/' that contain a dot in the query parameters
  • Limit REST API access to only authorized users and remove any unused API credentials

Generated by OpenCVE AI on May 20, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Brainstormforce
Brainstormforce surecart
Wordpress
Wordpress wordpress
Vendors & Products Brainstormforce
Brainstormforce surecart
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Surecart - SQL Injection
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
tenable
Published
Updated
May 20, 2026, 2:19 PM
Reserved
May 20, 2026, 8:19 AM
Status
Deferred
Published
May 20, 2026, 9:16 AM
Modified
Jul 23, 2026, 8:10 PM