CVE-2026-110911

SQL Injection via Dynamic Finders in Wheels

Published Oct 15, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Wheels 1.1.8 through 4.1.1 allows SQL injection when caller-supplied quoted values are parsed again as SQL by dynamic finders (such as findOneByEmail), the query builder's where(property, value) and where(property, operator, value), string/UUID-key lookup paths (findByKey, updateByKey, deleteByKey and findOrCreateBy...), and validatesUniquenessOf. The parser incorrectly treats a doubled single quote as the end of a literal. Applications passing request data to these APIs can expose authentication, password-reset or token lookups, and data to unauthorized access; numeric-column values are not affected. There is a similar concern for query-builder whereBetween() in 4.0.0 through 4.1.1: string/date bounds can alter SQL on MySQL/MariaDB with backslash escaping enabled. This is fixed in 4.1.2.

Analysis

AI-generated

Technical impact

Wheels 1.1.8 through 4.1.1 are vulnerable to SQL injection because caller-provided quoted values are parsed again as SQL by dynamic finders, the query builder's where clauses, string/UUID-key lookup paths, and validateUniquenessOf. The parser mistakenly treats a doubled single quote as the end of a literal, allowing injection when a request contains a single quote. As a result, attackers can corrupt authentication, password‑reset, or token lookups and gain access to sensitive data. Numeric-column values are not affected. A related issue exists for query‑builder whereBetween in 4.0.0 through 4.1.1, where string or date bounds can alter SQL on MySQL/MariaDB when backslash escaping is enabled.

Affected Systems

The affected product is Wheels, a library used in various web and backend applications. All released versions from 1.1.8 up to and including 4.1.1 contain the flaw. Versions prior to 1.1.8 and the first patched release 4.1.2 and later are not affected.

Risk and Exploitability

This flaw has a CVSS score of 9.8 and is not listed in the CISA KEV catalog. The EPSS score is not available, so the exploitation probability cannot be quantified from that metric. The vulnerability is exploitable through the exposed APIs when an attacker can supply crafted input to dynamic finder methods such as findOneByEmail or the query builder’s where function. Successful exploitation yields unauthorized read access and potentially other data manipulations, depending on application logic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Wheels 4.1.2 or a later, patched version
  • Verify that dynamic finders or query builder functions are not invoked with unsanitized user input
  • If upgrade is not immediately possible, consider disabling or constraining the use of dynamic finders and enforce strict input validation to block injected characters

Generated by OpenCVE AI on October 15, 2026 at 11:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wheels
Wheels wheels
Vendors & Products Wheels
Wheels wheels
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Title SQL Injection via Dynamic Finders in Wheels
Type Values Removed Values Added
Description Wheels 1.1.8 through 4.1.1 allows SQL injection when caller-supplied quoted values are parsed again as SQL by dynamic finders (such as findOneByEmail), the query builder's where(property, value) and where(property, operator, value), string/UUID-key lookup paths (findByKey, updateByKey, deleteByKey and findOrCreateBy...), and validatesUniquenessOf. The parser incorrectly treats a doubled single quote as the end of a literal. Applications passing request data to these APIs can expose authentication, password-reset or token lookups, and data to unauthorized access; numeric-column values are not affected. There is a similar concern for query-builder whereBetween() in 4.0.0 through 4.1.1: string/date bounds can alter SQL on MySQL/MariaDB with backslash escaping enabled. This is fixed in 4.1.2.
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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2026, 2:04 PM
Reserved
Oct 15, 2026, 3:03 AM
Status
Deferred
Published
Oct 15, 2026, 4:18 AM
Modified
Oct 16, 2026, 7:56 PM