CVE-2026-121265
🟠 MediumPerl module SQL::Abstract (pkg:cpan/SQL-Abstract), assigned by CPANSec. The record names no vendor. SQL::Abstract sits under DBIx::Class and much Perl web code, so the exposure is wherever a web handler passes decoded JSON into a query builder · Before 2.000003
48.01th percentile
Exploitation
Timeline
- 07/11/2026CVE record published (CVE List)
Risk
insert(), update() and values() treat an arrayref column value as literal SQL, so passing request data such as a decoded JSON array straight into a query injects SQL. generate() has the same problem, including through AUTOLOAD when allow_autoload is on)Fix
Official 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-89