CVE-2026-13766 Details
Description
DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers. The default SQL builder, a SQL::Abstract subclass, sets bindtype in its constructor but never quote_char, so SQL::Abstract emits identifiers verbatim. Caller-supplied identifiers (order_by, where-clause column keys, field and returning lists, upsert columns, and join aliases) reach the SQL string raw, while values are placeholder-bound and unaffected. A caller that forwards untrusted input to an affected identifier position, such as a user-controlled order_by value, enables SQL injection: the row order can be made to depend on a sub-select over columns the query never selected, and the where and update identifier positions permit further data disclosure and tampering.
A SQL injection vulnerability has been identified in DBIx::QuickORM versions prior to 0.000026 for Perl. The issue arises because the default SQL builder, a subclass of SQL::Abstract, fails to properly quote SQL identifiers, allowing untrusted input to be injected directly into SQL queries. This vulnerability affects caller-supplied identifiers such as order_by values, where-clause column keys, field and returning lists, upsert columns, and join aliases. Exploitation of this vulnerability could lead to unauthorized data access or manipulation by injecting malicious SQL that is executed by the database.
Users can upgrade to DBIx::QuickORM version 0.000026 or later, where this vulnerability has been fixed. The update ensures that all SQL identifiers are properly quoted, preventing injection. After updating, be aware that this version introduces incompatible changes: plain-string fields in order_by and field lists are now treated as column names and must not contain raw SQL. Additionally, the 'subquery' alias in LiteralSource must be a valid identifier.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 30, 2026CISA-ADP
Assessed Jun 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/exodist/DBIx-QuickORM/commit/43d7684682050780f056f25e1879191fb0a3265e.patch | CPANSec | Source CodeVendor |
| https://metacpan.org/release/EXODIST/DBIx-QuickORM-0.000026/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/06/30/4 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| DBIx::QuickORM | < 0.000026 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 30, 2026 | CVE Modified | CVE |
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 30, 2026 | New CVE Received | CPANSec |
Volerion