Summary
CVE-2026-111444 is a SQL injection vulnerability (CWE-89) in the Wheels web framework, affecting versions through 4.1.2 on MySQL/MariaDB with backslash escaping enabled. It is rated Critical (CVSS 9.8) and can be exploited over the network without authentication or user interaction. The vendor fixed it in Wheels 4.2.0.
Technical details
- Root cause: Several code paths write values directly into SQL as inline literals and escape only single quotes. Backslash is an escape character in the default MySQL/MariaDB configuration, so values containing backslashes can break out of the literal and alter the query.
- Trigger conditions: The application passes request data into inline-literal paths, on MySQL/MariaDB with backslash escaping enabled. The affected paths are:
- Queries that opt in with
parameterize=false. - IN lists.
- Unbound positions in developer-written
where=strings, such as BETWEEN bounds, function arguments and LIKE … ESCAPE literals.
- Queries that opt in with
- Not affected: Bound code paths, including dynamic finders, the query builder and
where()comparisons. - Attack vector: Network. No privileges or user interaction are required.
- Impact: Loss of confidentiality, integrity and availability of the database (High on all three).
Affected software
- Wheels through 4.1.2 (4.1.2 and earlier), when running on MySQL/MariaDB with backslash escaping enabled and using the inline-literal paths described above.
Severity
- CVSS v3.1 base score 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade to Wheels 4.2.0 or later.
- If you cannot patch immediately, use these workarounds from the vendor advisory:
- Pass request data only through bound APIs.
- Avoid
parameterize=falsewith user-supplied input. - Enable the
NO_BACKSLASH_ESCAPESSQL mode in MySQL/MariaDB.
- Review application code for request data used in IN lists or in unbound positions of
where=strings.

