Threat Feed

CVE-2026-121265: SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update

Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-07

Description

SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update. With the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value. An application that passes request data as column values to insert or update with the default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to.

Enclave's analysis

SQL::Abstract for Perl before 2.000003 treats an arrayref column value in insert, update and values as literal SQL by default. If an app passes JSON or repeated form fields straight in as column values, that's SQL injection. No known exploitation, no public PoC, but the fix commit's tests show the shape. Upgrade to 2.000003 or later.

Fix

Upgrade Affected product to 2.000003; SQL::Abstract (SQL-Abstract) to 2.000003. No fixed version is listed for libsql-abstract-perl (Debian); follow the vendor advisory.

Affected versions

ProductVulnerableFixed in
Affected product0 before 2.0000032.000003
SQL::Abstract (SQL-Abstract)0 up to but not including 2.0000032.000003
libsql-abstract-perl (Debian)2.000001-2 listed as vulnerable, unfixed in all suitesNot listed

Seen in 3 sources