Description
Wheels through 4.1.2 allows SQL injection on MySQL/MariaDB with backslash escaping enabled (NO_BACKSLASH_ESCAPES absent) when an application supplies request data to inline-literal paths. These include opt-in parameterize=false queries and IN lists, and positions in developer-written where strings that the parser does not bind, such as BETWEEN bounds, function arguments and LIKE ESCAPE literals. Doubling single quotes without accounting for backslash escapes allows a value to alter the query. Bound paths are not affected; whereBetween() is bound from 4.1.2. This is fixed in 4.2.0.
Published: 2026-10-16
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: SQL injection that can compromise the database
Action: Immediate Patch
AI Analysis

Impact

Wheels up to and including version 4.1.2 contains a flaw that permits SQL injection when the application supplies request data that is incorporated directly into inline‑literal SQL paths. The problem occurs in environments where the MySQL or MariaDB server has backslash escaping enabled because the NO_BACKSLASH_ESCAPES mode is missing. This is a CWE‑89 SQL injection flaw, where an attacker can inject arbitrary SQL by inserting doubled single quotes, which the parser interprets as part of the query. The consequence is the potential for an attacker to read, modify, or delete database data, potentially resulting in full database compromise.

Affected Systems

All installations of Wheels 4.1.2 or earlier are affected. The flaw is triggered by inline‑literal queries such as parameter‑less queries with option parameterize=false, IN lists, and developer‑written WHERE clauses that are not bound. The vulnerability is fixed in Wheels 4.2.0.

Risk and Exploitability

The CVSS base score of 9.8 indicates critical severity. The EPSS score is less than 1%, indicating a very low but nonzero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. An attacker would need the ability to supply arbitrary input to database query paths, which typically requires remote network or application access. Once exploited, the attacker can execute arbitrary SQL against the MySQL or MariaDB database, potentially gaining unlimited data access and manipulation capabilities. The likely attack vector is remote via web or API endpoints that accept user input, based on the description and typical deployment scenarios.

Generated by OpenCVE AI on October 16, 2026 at 16:19 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wheels to version 4.2.0 or later; the fix removes the vulnerability.
  • If an upgrade is not immediately possible, configure the database server to enforce NO_BACKSLASH_ESCAPES or otherwise disable backslash escapes to prevent unescaped payloads from being interpreted.
  • Refactor application code to avoid inline‑literal SQL paths; instead use parameterized queries or bound values for all database interactions.

Generated by OpenCVE AI on October 16, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Wheels
Wheels wheels
Vendors & Products Wheels
Wheels wheels

Fri, 16 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Title SQL Injection via Unsanitized Inline Literals in Wheels 4.1.2 and Earlier

Fri, 16 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Title SQL Injection via Unsanitized Inline Literals in Wheels 4.1.2 and Earlier

Fri, 16 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 16 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Description Wheels through 4.1.2 allows SQL injection on MySQL/MariaDB with backslash escaping enabled (NO_BACKSLASH_ESCAPES absent) when an application supplies request data to inline-literal paths. These include opt-in parameterize=false queries and IN lists, and positions in developer-written where strings that the parser does not bind, such as BETWEEN bounds, function arguments and LIKE ESCAPE literals. Doubling single quotes without accounting for backslash escapes allows a value to alter the query. Bound paths are not affected; whereBetween() is bound from 4.1.2. This is fixed in 4.2.0.
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-16T12:32:27.499Z

Reserved: 2026-10-16T03:31:29.676Z

Link: CVE-2026-111444

cve-icon Vulnrichment

Updated: 2026-10-16T12:32:23.909Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T04:18:30.353

Modified: 2026-10-16T15:19:36.177

Link: CVE-2026-111444

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T11:30:16Z

Weaknesses
  • CWE-89

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