CVE-2026-13766
JSON

9.8critical

DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
DBIx-QuickORMbefore 0.000026CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de DBIx::QuickORM anteriores a la 0.000026 para Perl permiten la inyección SQL a través de identificadores SQL sin comillas. El constructor de SQL predeterminado, una subclase de SQL::Abstract, establece bindtype en su constructor pero nunca quote_char, por lo que SQL::Abstract emite los identificadores textualmente. Los identificadores proporcionados por el llamador (order_by, claves de columna de cláusulas where, listas de campos y de retorno, columnas de upsert y alias de unión) llegan a la cadena SQL sin procesar, mientras que los valores están vinculados a marcadores de posición y no se ven afectados. Un llamador que reenvía entrada no confiable a una posición de identificador afectada, como un valor order_by controlado por el usuario, habilita la inyección SQL: el orden de las filas puede hacerse depender de una subconsulta sobre columnas que la consulta nunca seleccionó, y las posiciones de identificador de where y update permiten una mayor divulgación y manipulación de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-13766 changed 2026-06-30CVE Terms of Use
NVDCVE-2026-13766 changed 2026-10-25Public domain